The return value of the git step should be the commit hash, etc., and there should be a way to pass that back in to a subsequent git step in case you want to check out the same revision in another workspace (without copying files).

      The workaround is to archive and then unarchive sources.

          [JENKINS-26100] SCM steps should return revision state

          Jesse Glick created issue -
          Jesse Glick made changes -
          Link New: This issue depends on JENKINS-24141 [ JENKINS-24141 ]
          Jesse Glick made changes -
          Link New: This issue is related to JENKINS-26129 [ JENKINS-26129 ]
          Jesse Glick made changes -
          Link New: This issue is related to JENKINS-26942 [ JENKINS-26942 ]
          Jesse Glick made changes -
          Link New: This issue is related to JENKINS-27018 [ JENKINS-27018 ]
          Jesse Glick made changes -
          Link New: This issue is related to JENKINS-30412 [ JENKINS-30412 ]
          Jesse Glick made changes -
          Link New: This issue is related to JENKINS-31386 [ JENKINS-31386 ]
          Jesse Glick made changes -
          Link New: This issue is duplicated by JENKINS-34455 [ JENKINS-34455 ]
          Patrick Wolf made changes -
          Epic Link New: JENKINS-35394 [ 171187 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 160090 ] New: JNJira + In-Review [ 180250 ]
          Andrew Bayer made changes -
          Component/s New: pipeline-general [ 21692 ]

            abayer Andrew Bayer
            jglick Jesse Glick
            Votes:
            85 Vote for this issue
            Watchers:
            100 Start watching this issue

              Created:
              Updated:
              Resolved: