Skip to content

Administrer Jenkins

Command set-external-build-result

Set external monitor job result.
Command
java -jar jenkins-cli.jar -s https://integration.silverpeas.org/jenkins/ set-external-build-result [--display (-n) DISPLAY] [--dump-build-number (-b)] [--duration (-d) DURATION] --job (-j) JOB --log (-l) -|LOG [--result (-r) RESULT]
 --display (-n) DISPLAY   : Display name of the build
 --dump-build-number (-b) : Log the produced build number to the standard
                            output (default: false)
 --duration (-d) DURATION : Number of milli-seconds it took to run this build
                            (default: 0)
 --job (-j) JOB           : Name of the external monitor job
 --log (-l) -|LOG         : Log to be set. '-' to read from stdin (gzipped).
 --result (-r) RESULT     : 0: success, 1: fail (default: 0)