Command replay-pipeline
java -jar jenkins-cli.jar -s https://ci.inria.fr/ocaml/ replay-pipeline JOB [-n (--number) BUILD#] [-s (--script) SCRIPT]
Replay a Pipeline build with edited script taken from standard input
JOB : Name of the job to replay. -n (--number) BUILD# : Build to replay, if not the last. (default: 0) -s (--script) SCRIPT : Name of script to edit, such as Script3, if not the main Jenkinsfile.