build
build & current build
Stop the current build
or
abort previous running build
get current build info
[!TIP] reference:
get BUILD_NUMBER
get previous build number
get build id of lastSuccessfulBuild
get via api
get via
Jenkins.instance.getItemByFullName(env.JOB_NAME)get last build id
trigger downstream builds
trigger downstream with active choice parameters

Pipeline Supporting APIs Plugin older than
2.2
others
stage and build
warnError
warnError
or just be simply:

set unstable
Signals an error. Useful if you want to conditionally abort some part of your program. You can also just
throw new Exception(), but this step will avoid printing a stack trace
Prints a message to the log and sets the overall build result and the stage result to UNSTABLE. The message will also be associated with the stage result and may be shown in visualizations.
get stage of a build
get stage name
Build Result
reference
isWorthThan

Last updated