git sparse checkout within Jenkinsfile

I needed to checkout some code from another repository into my project, but I only wanted a specific directory within the other repository.


As usual with Jenkins, the docs are lacking, but reading the source for a bit I came up with the following:

 •  0 comments  •  flag
Share on Twitter
Published on July 11, 2019 13:40
No comments have been added yet.