Pipeline groovy script git checkout on master workspace

26 views
Skip to first unread message

cbs...@gmail.com

unread,
Oct 6, 2017, 3:43:44 PM10/6/17
to Jenkins Users
Hi, currently we see Pipeline groovy script git checkout on master workspace, is there a way to avoid this?

Thanks

C

Mark Waite

unread,
Oct 6, 2017, 5:09:17 PM10/6/17
to Jenkins Users
If you're using the github branch source provider, I believe it uses GitHub API calls to avoid checkout on the master.

If you're using "vanilla git", then there isn't a way to avoid that checkout, since "vanilla git" does not provide a way to request a single file from a repository.

Mark Waite

--
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 jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/54bd45b3-a8a9-41e4-838b-f55bc7b0a0bb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages