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

Allow to specify node for load from SCM (Jenkinsfile)

      Currently SCM checkout is done on master. This requires the master to have SCM tool installed. Add ability to specify node for Pipeline SCM checkout (Jenkinsfile).

          [JENKINS-34140] Allow to specify node for load from SCM (Jenkinsfile)

          Owen Wood created issue -
          Oleg Nenashev made changes -
          Priority Original: Minor [ 4 ] New: Major [ 3 ]
          Oleg Nenashev made changes -
          Labels New: pipeline scm
          Jesse Glick made changes -
          Labels Original: pipeline scm New: scm

          Code changed in jenkins
          User: Jesse Glick
          Path:
          src/main/java/org/jenkinsci/plugins/workflow/cps/CpsScmFlowDefinition.java
          http://jenkins-ci.org/commit/workflow-cps-plugin/e162da74637040ccd0b9623290b8597da1a8e513
          Log:
          Removing TODO comment filed as JENKINS-34140.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: src/main/java/org/jenkinsci/plugins/workflow/cps/CpsScmFlowDefinition.java http://jenkins-ci.org/commit/workflow-cps-plugin/e162da74637040ccd0b9623290b8597da1a8e513 Log: Removing TODO comment filed as JENKINS-34140 .

          Jesse Glick added a comment -

          The code change seems easy, but the security implications are worrisome. Anyway JENKINS-33273 would render this sort of obsolete to the extent that compliant SCM integrations would not require any checkout for Jenkinsfile. For SCMs which do not have any way of retrieving file contents remotely, or which do not have a Java client, the problem may remain.

          Jesse Glick added a comment - The code change seems easy, but the security implications are worrisome. Anyway JENKINS-33273 would render this sort of obsolete to the extent that compliant SCM integrations would not require any checkout for Jenkinsfile . For SCMs which do not have any way of retrieving file contents remotely, or which do not have a Java client, the problem may remain.
          Jesse Glick made changes -
          Link New: This issue is related to JENKINS-33273 [ JENKINS-33273 ]
          Jesse Glick made changes -
          Epic Link New: JENKINS-35386 [ 171179 ]

          Eli White added a comment -

          Eli White added a comment - This seems similar to https://issues.jenkins-ci.org/browse/JENKINS-35710
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 170182 ] New: JNJira + In-Review [ 183799 ]

            Unassigned Unassigned
            owood Owen Wood
            Votes:
            2 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated: