The current implementation results in generated jobs performing a full 'infinity' checkout of the branches specified in the 'master' job.

      It would be ideal if the SCM specification for the branches to generate jobs for and the SCM specification for checking out into the workspace were somehow separately controlled. In particular we don't want the generated jobs to perform a source checkout at all. Even just a checkbox to prevent the checkout in generated jobs would suffice.

      This is useful for generated jobs for branches that either re-use a workspace on a node from another job or otherwise don't require a checkout or otherwise need to do the checkout differently.

          [JENKINS-39608] Control SCM checkout method in generated jobs

          Jon Freedman added a comment -

          It would also be helpful to be able to restrict the branch indexing checkout to only pull the Jenkinsfile - currently we are pulling the entire repository onto our master which is 99%+ redundant.

          Jon Freedman added a comment - It would also be helpful to be able to restrict the branch indexing checkout to only pull the Jenkinsfile - currently we are pulling the entire repository onto our master which is 99%+ redundant.

          Jesse Glick added a comment -

          Should be covered by JENKINS-33273.

          Jesse Glick added a comment - Should be covered by  JENKINS-33273 .

            Unassigned Unassigned
            smh_12 Shane Hird
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: