Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-35839

Support Replay of a pipeline which allows a user to update a pipeline script before retrying

XMLWordPrintable

      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.

            Unassigned Unassigned
            jamesdumay James Dumay
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: