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

Replay does not reuse commit on non-multibranch pipeline jobs

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Issue Links

            Activity

            imeredith Ivan Meredith created issue -
            jamesdumay James Dumay made changes -
            Field Original Value New Value
            Labels blueocean
            imeredith Ivan Meredith made changes -
            Description 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.
            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.
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 173161 ] JNJira + In-Review [ 184975 ]
            abayer Andrew Bayer made changes -
            Component/s pipeline-general [ 21692 ]
            abayer Andrew Bayer made changes -
            Component/s workflow-plugin [ 18820 ]
            jglick Jesse Glick made changes -
            Component/s workflow-cps-plugin [ 21713 ]
            Component/s pipeline [ 21692 ]
            Assignee Jesse Glick [ jglick ]
            Issue Type Improvement [ 4 ] New Feature [ 2 ]
            jglick Jesse Glick made changes -
            Link This issue is duplicated by JENKINS-45808 [ JENKINS-45808 ]
            nicosmaris Nicos Maris made changes -
            Priority Minor [ 4 ] Major [ 3 ]

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              imeredith Ivan Meredith
              Votes:
              6 Vote for this issue
              Watchers:
              13 Start watching this issue

                Dates

                Created:
                Updated: