Command replay-pipeline
java -jar jenkins-cli.jar -s https://geeplo.com/jenkins/ replay-pipeline JOB [-a (--approve) APPROVE] [-n (--number) BUILD#] [-s (--script) SCRIPT]
Replay a Pipeline build with edited script taken from standard input
JOB : Name of the job to replay. -a (--approve) APPROVE : Approve the main Jenkinsfile if the build is unsandboxed. (default: false) -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.