-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2563 from stochmial/shell-setunstable-rebased
[JENKINS-23786] Permit the Shell plugin to set a build result as unstable via a return code
- Loading branch information
Showing
11 changed files
with
393 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
core/src/main/resources/hudson/tasks/BatchFile/help-unstableReturn.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<div> | ||
If set, the batch errorlevel result that will be interpreted as an unstable build result. | ||
If the final errorlevel matches the value, the build results will be set to unstable and | ||
next steps will be continued. Supported values match the widest errorlevel range for Windows | ||
like systems. In Windows NT4 and beyond the ERRORLEVEL is stored as a four byte, signed integer, | ||
yielding maximum and minimum values of 2147483647 and -2147483648, respectively. Older versions | ||
of Windows use 2 bytes. DOS like systems use single byte, yelding errorlevels between 0-255. | ||
The value 0 is ignored and does not make the build unstable to keep the default behaviour consistent. | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
core/src/main/resources/hudson/tasks/Shell/help-unstableReturn.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<div> | ||
If set, the shell exit code that will be interpreted as an unstable build result. If the exit code matches the value, | ||
the build results will be set to 'unstable' and next steps will be continued. On Unix-like it is a value between 0-255. | ||
The value 0 is ignored and does not make the build unstable to keep the default behaviour consistent. | ||
</div> |
Oops, something went wrong.