Status: Open (View Workflow)
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-48420 Provide lightweight checkout capability for Subversion
(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.
There's a lightweight checkout option for Git repositories - I guess someone would need to implement something similar for the Subversion plugin.