Replay a Pipeline build with edited script taken from standard input
Command
java -jar jenkins-cli.jar -s https://jenkins.garasiku.autos/ replay-pipeline JOB [-a (--approve) APPROVE] [-n (--number) BUILD#] [-s (--script) SCRIPT]
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.