]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
CI: fix AppVeyor status failing for starting jobs
authorMarc Hoersken <info@marc-hoersken.de>
Mon, 24 Oct 2022 18:50:27 +0000 (20:50 +0200)
committerMarc Hoersken <info@marc-hoersken.de>
Mon, 24 Oct 2022 18:50:27 +0000 (20:50 +0200)
.github/workflows/appveyor-status.yml

index a97bf86c38c0208592e758f3244ce882d16412dc..8202a7a76c050d6239c89d26869572f2818c3cb4 100644 (file)
@@ -31,9 +31,10 @@ jobs:
             jq -c '.build.jobs[] | {target_url: ($target_url + "/job/" + .jobId),\r
                                     context: (.name | sub("^(Environment: )?"; "AppVeyor / ")),\r
                                     state: (.status | sub("queued"; "pending")\r
+                                                    | sub("starting"; "pending")\r
                                                     | sub("running"; "pending")\r
                                                     | sub("failed"; "failure")\r
                                                     | sub("cancelled"; "error")),\r
                                     description: .status}' \\r
-                --arg target_url ${APPVEYOR_TARGET_URL} | parallel --pipe -j 1 -N 1 \\r
+                --arg target_url ${APPVEYOR_TARGET_URL} | tee /dev/stderr | parallel --pipe -j 1 -N 1 \\r
               gh api --silent --input - repos/${APPVEYOR_REPOSITORY}/statuses/${APPVEYOR_COMMIT_SHA}\r