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

workspace@scripts directory checks out whole SVN SCM

      We have a multi branch pipeline for a large (20gb) project in SVN. 

      Whenever a new branch is created, the entire branch is downloaded into the workspace@scripts directory when all it needs is JenkinsFile. This is doubling up on the amount of disk space that is being used, and increasing the amount of time taken to initially check out the project.

      Can this be made to initially try check out just the single file, or a single sub directory first? 

          [JENKINS-50527] workspace@scripts directory checks out whole SVN SCM

          Andrew Bayer added a comment -

          There's a lightweight checkout option for Git repositories - I guess someone would need to implement something similar for the Subversion plugin.

          Andrew Bayer added a comment - There's a lightweight checkout option for Git repositories - I guess someone would need to implement something similar for the Subversion plugin.

          Germain Barret added a comment - - edited

          (question/statement) The @script subdirectories are stashed data. They are not of your concern as a user of Jenkins.

          Germain Barret added a comment - - edited (question/statement) The @script subdirectories are stashed data. They are not of your concern as a user of Jenkins.

          Lightweight checkout was ostensibly implemented in https://github.com/jenkinsci/subversion-plugin/pull/223 for JENKINS-48420, merged on 2018-09-17. I have not tested it myself.

          Kalle Niemitalo added a comment - Lightweight checkout was ostensibly implemented in https://github.com/jenkinsci/subversion-plugin/pull/223 for JENKINS-48420 , merged on 2018-09-17. I have not tested it myself.

            Unassigned Unassigned
            pretenda Matt Fanning
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: