build

build & current build

useful info:

Stop the current build

stop current

stop all

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

/marslo/sandbox

build downstream jobs

others

stage and build

warnError

warnError

catchError

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

Build Result

reference

isWorthThan

Jenkins Result Status

Last updated