-
Story
-
Resolution: Duplicate
-
Major
In a multibranch project, Jenkins allows you to select a run of a pipeline and "replay it" as the same commit. A user can also view and optionally edit the Jenkinsfile, so when it "runs" it runs with the modified Jenkinsfile. This is very useful for debugging a Jenkinsfile, or just retrying a specific commit to see if the failure is related to a commit, or environmental.
We need an api that allows it to take the Jenkinsfile script to execute, but also provide the state of the Jenkinsfile as it was.
In scope:
- Retry pipeline with latest HEAD of scm (no change of Jenkinsfile)
- Retry of freestyle job with latest HEAD of scm
- Replay of multibranch pipeline with same Jenkinsfile content for a specific commit specified
- Replay of multibranch pipeline with modified Jenkinsfile content for a specific commit specified
Out of scope:
- Replay of freestyle for a specific commit
- Replay of freestyle with modified content
Required for parity with Jenkins.
- blocks
-
JENKINS-35801 Replay of a run with modified Jenkinsfile
- Open
- is blocked by
-
JENKINS-35801 Replay of a run with modified Jenkinsfile
- Open
-
JENKINS-35881 API allows re-running of a completed run with the same commits
- Resolved