Skip to content

Command restart-from-stage

Restart a completed Declarative Pipeline build from a given stage.
Command
java -jar jenkins-cli.jar -s https://jenkins.garasiku.autos/ restart-from-stage -j (--job) JOB [-n (--number) BUILD#] -s (--stage) STAGE
 -j (--job) JOB       : Name of the job to restart.
 -n (--number) BUILD# : Build to restart, if not the last. (default: 0)
 -s (--stage) STAGE   : Stage to restart from.