Failure / Unstable via Script Return Code

后端 未结 6 1927
别那么骄傲
别那么骄傲 2020-12-11 04:04

I would like to get the result of my jenkins build job either failed (red), unstable (yellow) or successfull (green)...

If i return non zero from my shell script i c

6条回答
  •  借酒劲吻你
    2020-12-11 04:40

    As indicated in one of the comments this is and issue reported by jenkins team, already fixed and initially planed for version 2.26. See the following issue for details Permit "Execute shell" jobs to return 2 for "unstable"

    But, it seems to be dependent on another issue that it is still blocking it

提交回复
热议问题