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 On Fri, Oct 6, 2017 at 1:43 PM <[email protected]> wrote: > Hi, currently we see Pipeline groovy script git checkout on master > workspace, is there a way to avoid this? > > Thanks > > C > > -- > 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/54bd45b3-a8a9-41e4-838b-f55bc7b0a0bb%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/54bd45b3-a8a9-41e4-838b-f55bc7b0a0bb%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CAO49JtH5QR9HEpvKRjM2Z_WRthig7iy-qiuVVqjRmgftHaDgdQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
