jenkins_replay_build
Replay a pipeline build with an original or modified Groovy script. Rerun builds to test changes without creating a new job.
Instructions
Replay/rerun a pipeline build, optionally with a modified pipeline script
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobName | Yes | Name of the Jenkins job | |
| instance | No | Jenkins instance name (optional — defaults to first configured instance) | |
| mainScript | No | Optional Groovy pipeline script to use instead of the original. When omitted, the original build script is replayed unchanged. | |
| buildNumber | Yes | Build number to replay |