tools: be intentional about masking possible error in start-ci.sh#41284
tools: be intentional about masking possible error in start-ci.sh#41284nodejs-github-bot merged 1 commit intonodejs:masterfrom
Conversation
|
Review requested:
|
richardlau
left a comment
There was a problem hiding this comment.
Approving, but I have a vague recollection that ncu-ci doesn't actually return a non-zero exit code when it fails to start a CI.
Yes I don't think this code is ever run currently. |
I think I looked into #39746 back when it was opened and determined that the Jenkins rest API correctly returned an error but that was lost somewhere (I wasn't able to track down where) inside |
Then I guess the thing to do is to add |
aduh95
left a comment
There was a problem hiding this comment.
Let's mask the possible error so GH Actions can still send the comment reporting the previous error.
Revise start-ci.sh to conform with shellcheck 0.8.0 default checks. Refs: https://www.shellcheck.net/wiki/SC2312
0f852ce to
578620d
Compare
OK, done. PTAL. |
|
Fast-track has been requested by @Trott. Please 👍 to approve. |
|
Landed in 5cc4b69 |
Revise start-ci.sh to conform with shellcheck 0.8.0 default checks. Refs: https://www.shellcheck.net/wiki/SC2312 PR-URL: #41284 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Revise start-ci.sh to conform with shellcheck 0.8.0 default checks. Refs: https://www.shellcheck.net/wiki/SC2312 PR-URL: #41284 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Revise start-ci.sh to conform with shellcheck 0.8.0 default checks. Refs: https://www.shellcheck.net/wiki/SC2312 PR-URL: nodejs#41284 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Revise start-ci.sh to conform with shellcheck 0.8.0 default checks. Refs: https://www.shellcheck.net/wiki/SC2312 PR-URL: #41284 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Revise start-ci.sh to conform with shellcheck 0.8.0 default checks.
Refs: https://www.shellcheck.net/wiki/SC2312