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

Replay does not reuse commit on non-multibranch pipeline jobs

      In multibranch jobs, if you 'replay' a build it will reuse the git commit (and assume svn revision etc) of the build in the replay.

      But with non-multibranch pipeline jobs, the latest commit is always used no matter what build is replayed.

      It may have something to do with 'checkout scm' vs 'git url:' being used, but either way I think it should work in the same.

          [JENKINS-36453] Replay does not reuse commit on non-multibranch pipeline jobs

          Ivan Meredith created issue -
          James Dumay made changes -
          Labels New: blueocean
          Ivan Meredith made changes -
          Description Original: In multibranch jobs, if you 'replay' a build it will reuse the git commit (and assume svn revision etc) of the build in the replay.

          But with non-multibranch pipeline jobs, the latest commit is always used no matter what build is replayed.

          It may have something to do with 'checkout scm' vs 'git url:' being used, but either way I think it should work ine same.
          New: In multibranch jobs, if you 'replay' a build it will reuse the git commit (and assume svn revision etc) of the build in the replay.

          But with non-multibranch pipeline jobs, the latest commit is always used no matter what build is replayed.

          It may have something to do with 'checkout scm' vs 'git url:' being used, but either way I think it should work in the same.
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 173161 ] New: JNJira + In-Review [ 184975 ]
          Andrew Bayer made changes -
          Component/s New: pipeline-general [ 21692 ]
          Andrew Bayer made changes -
          Component/s Original: workflow-plugin [ 18820 ]
          Jesse Glick made changes -
          Component/s New: workflow-cps-plugin [ 21713 ]
          Component/s Original: pipeline [ 21692 ]
          Assignee Original: Jesse Glick [ jglick ]
          Issue Type Original: Improvement [ 4 ] New: New Feature [ 2 ]
          Jesse Glick made changes -
          Link New: This issue is duplicated by JENKINS-45808 [ JENKINS-45808 ]
          Nicos Maris made changes -
          Priority Original: Minor [ 4 ] New: Major [ 3 ]

            Unassigned Unassigned
            imeredith Ivan Meredith
            Votes:
            8 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated: