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

Pipeline script from SCM should support build parameters using Lightweight checkout

      https://issues.jenkins-ci.org/browse/JENKINS-28447?focusedCommentId=308351&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-308351
      jglick 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

          [JENKINS-48431] Pipeline script from SCM should support build parameters using Lightweight checkout

          Balint Szigeti added a comment - - edited

          is there any news about this issue?

          This issue still exists in version 2.161

          Balint Szigeti added a comment - - edited is there any news about this issue? This issue still exists in version 2.161

          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

          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

          Alfred Szmidt added a comment -

          Is there any progress on this issue? It still exists in Jenkins ver. 2.222.3.

          Alfred Szmidt added a comment - Is there any progress on this issue? It still exists in Jenkins ver. 2.222.3.

          Amit Dar added a comment -

          This issue is starting to cause a lot of mess in our jobs as well... wondering if there might a chance for a fix... (Jenkins 2.263.1)

          Amit Dar added a comment - This issue is starting to cause a lot of mess in our jobs as well... wondering if there might a chance for a fix... (Jenkins 2.263.1)

          Devin Nusbaum added a comment -

          Closing as a duplicate of JENKINS-42971 (for which one PR has been merged and two others are still outstanding).

          Devin Nusbaum added a comment - Closing as a duplicate of JENKINS-42971 (for which one PR has been merged and two others are still outstanding).

            Unassigned Unassigned
            pyrocks Mor L
            Votes:
            31 Vote for this issue
            Watchers:
            36 Start watching this issue

              Created:
              Updated:
              Resolved: