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

Control SCM checkout method in generated jobs

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Issue Links

            Activity

            Hide
            jfreedman 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.

            Show
            jfreedman 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.
            Hide
            jglick Jesse Glick added a comment -

            Should be covered by JENKINS-33273.

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

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: