Hi,
I have a large repo in GitHub Enterprise and need to clone a sub-directory
from it on my Jenkins build server and just build that sub-directory. I am
using a pipeline script and have this right now:
node {
stage ('checkout') {
git url: '[email protected]:Org/MyLargeRepo.git'
}
}
What I want is to clone from
github.devops.mycompany.local:Org/MyLargeRepo/path/to/subproject
I know I probably need to use sparse and/or shallow checkouts, but can't
seem to work out how to configure that in a Jenkins pipeline script with
the git plugin. Any ideas?
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/1800cb3e-750c-403a-8c5a-41ef6b7354b1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.