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

Pipeline script from SCM should support build parameters using Lightweight checkout

    Details

    • Similar Issues:

      Description

      https://issues.jenkins-ci.org/browse/JENKINS-28447?focusedCommentId=308351&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-308351
      Jesse Glick added a comment - 2017-07-26 21:18
      Lightweight checkout is going through a completely unrelated code path, and currently SCMFileSystem implementations do not honor variables (or even have an API allowing them to honor variables IIRC). Would have to be a separate feature.

      So here - a separate issue to support both lightweight checkout AND build parameters.

       

      Thanks

        Attachments

          Issue Links

            Activity

            pyrocks Mor L created issue -
            pyrocks Mor L made changes -
            Field Original Value New Value
            Link This issue is related to JENKINS-28447 [ JENKINS-28447 ]
            cloudbees CloudBees Inc. made changes -
            Remote Link This issue links to "CloudBees Internal OSS-2605 (Web Link)" [ 19509 ]
            cloudbees CloudBees Inc. made changes -
            Remote Link This issue links to "CloudBees Internal CD-381 (Web Link)" [ 19525 ]
            rodrigc Craig Rodrigues made changes -
            Link This issue is related to JENKINS-42971 [ JENKINS-42971 ]
            rodrigc Craig Rodrigues made changes -
            Component/s pipeline [ 21692 ]
            Component/s scm-api-plugin [ 18054 ]
            Component/s workflow-cps-plugin [ 21713 ]
            Hide
            jupiter2005ster Balint Szigeti added a comment - - edited

            is there any news about this issue?

            This issue still exists in version 2.161

            Show
            jupiter2005ster Balint Szigeti added a comment - - edited is there any news about this issue? This issue still exists in version 2.161
            jupiter2005ster Balint Szigeti made changes -
            Priority Minor [ 4 ] Major [ 3 ]
            jglick Jesse Glick made changes -
            Component/s workflow-cps-plugin [ 21713 ]
            Component/s pipeline [ 21692 ]
            Component/s scm-api-plugin [ 18054 ]
            jglick Jesse Glick made changes -
            Component/s scm-api-plugin [ 18054 ]
            Hide
            tgatinea Thierry GATINEAU added a comment -

            I may have a code that support both lightweight checkout and build parameter:

            https://github.com/jenkinsci/git-plugin/pull/772

            https://github.com/jenkinsci/scm-api-plugin/pull/78

            https://github.com/jenkinsci/workflow-cps-plugin/pull/329

            Note that it also manages to have gerrit triger with SCM set to refspec=$GERRIT_REFSPEC and branch=FETCH_HEAD

            Show
            tgatinea Thierry GATINEAU added a comment - I may have a code that support both lightweight checkout and build parameter: https://github.com/jenkinsci/git-plugin/pull/772 https://github.com/jenkinsci/scm-api-plugin/pull/78 https://github.com/jenkinsci/workflow-cps-plugin/pull/329 Note that it also manages to have gerrit triger with SCM set to refspec=$GERRIT_REFSPEC and branch=FETCH_HEAD

              People

              • Assignee:
                Unassigned
                Reporter:
                pyrocks Mor L
              • Votes:
                16 Vote for this issue
                Watchers:
                19 Start watching this issue

                Dates

                • Created:
                  Updated: