Jenkins and Git sparse checkouts
I have a large repository in Git. How do I create a job in Jenkins that checks out just one sub-folder from the project? uı6ʎɹnɯ ꞁəıuɐp Jenkins Git Plugin support sparse checkouts since git-plugin 2.1.0 (April, 2014). You will need git >= 1.7.0 for this feature. It is under "Additional Behaviors" -> "Sparse Checkout paths." See: Jira issue JENKINS-21809 You can use sparse checkout feature of Git. Note that Git still clones whole repository to local disk. That's not too bad however, because it is compressed. Create a new job in Jenkins, set Git repository in Source Code Management section.