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

SCM steps should return revision state

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Issue Links

            Activity

            jglick Jesse Glick created issue -
            jglick Jesse Glick made changes -
            Field Original Value New Value
            Link This issue depends on JENKINS-24141 [ JENKINS-24141 ]
            jglick Jesse Glick made changes -
            Link This issue is related to JENKINS-26129 [ JENKINS-26129 ]
            jglick Jesse Glick made changes -
            Link This issue is related to JENKINS-26942 [ JENKINS-26942 ]
            jglick Jesse Glick made changes -
            Link This issue is related to JENKINS-27018 [ JENKINS-27018 ]
            jglick Jesse Glick made changes -
            Link This issue is related to JENKINS-30412 [ JENKINS-30412 ]
            jglick Jesse Glick made changes -
            Link This issue is related to JENKINS-31386 [ JENKINS-31386 ]
            jglick Jesse Glick made changes -
            Link This issue is duplicated by JENKINS-34455 [ JENKINS-34455 ]
            hrmpw Patrick Wolf made changes -
            Epic Link JENKINS-35394 [ 171187 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 160090 ] JNJira + In-Review [ 180250 ]
            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-scm-step-plugin [ 21717 ]
            Component/s pipeline [ 21692 ]
            zaytsev_work Yury Zaytsev made changes -
            Attachment multibranch-wrong-revision.png [ 34338 ]
            jglick Jesse Glick made changes -
            Remote Link This issue links to "subversion PR 176 (Web Link)" [ 15341 ]
            jglick Jesse Glick made changes -
            Link This issue is duplicated by JENKINS-35230 [ JENKINS-35230 ]
            jglick Jesse Glick made changes -
            Link This issue is duplicated by JENKINS-36436 [ JENKINS-36436 ]
            abayer Andrew Bayer made changes -
            Assignee Jesse Glick [ jglick ] Andrew Bayer [ abayer ]
            abayer Andrew Bayer made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            abayer Andrew Bayer made changes -
            Remote Link This issue links to "Git plugin PR #492 (Web Link)" [ 16318 ]
            abayer Andrew Bayer made changes -
            Remote Link This issue links to "Core PR #2730 (Web Link)" [ 16319 ]
            abayer Andrew Bayer made changes -
            Remote Link This issue links to "SCM Step PR #16 (Web Link)" [ 16320 ]
            abayer Andrew Bayer made changes -
            Remote Link This issue links to "SVN PR #182 (Web Link)" [ 16321 ]
            abayer Andrew Bayer made changes -
            Remote Link This issue links to "Mercurial PR #102 (Web Link)" [ 16322 ]
            abayer Andrew Bayer made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            bjmi Björn Michael made changes -
            Link This issue relates to JENKINS-44449 [ JENKINS-44449 ]
            nmenetrier Nicolas MENETRIER made changes -
            Rank Ranked higher
            jglick Jesse Glick made changes -
            Link This issue is blocking JENKINS-37584 [ JENKINS-37584 ]
            jglick Jesse Glick made changes -
            Status In Review [ 10005 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            markewaite Mark Waite made changes -
            Link This issue is related to JENKINS-45962 [ JENKINS-45962 ]
            sparklepony Sparkle Pony made changes -
            Comment [ [~jglick]

            Hello, I had this support ticket [https://support.cloudbees.com/hc/en-us/requests/47538] marked as resolved based on the work done to resolve this issue. My request was for pipeline to support GHPRB style "skip build phrase". Forgive me but it's not obvious how I would leverage the fix for this issue to give me the "skip build phrase" type functionality. Could you give some pointers on that?

            Thanks ]
            thesnoozer S L made changes -
            Link This issue is related to JENKINS-47226 [ JENKINS-47226 ]
            lvaikunt Lakshmi Narasimhan Vaikuntam made changes -
            Remote Link This issue links to "Page (Jenkins Wiki)" [ 20839 ]

              People

              • Assignee:
                abayer Andrew Bayer
                Reporter:
                jglick Jesse Glick
              • Votes:
                85 Vote for this issue
                Watchers:
                101 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: