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

            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
            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:
                14 Vote for this issue
                Watchers:
                17 Start watching this issue

                Dates

                • Created:
                  Updated: