Pipeline groovy script git checkout on master workspace

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Pipeline groovy script git checkout on master workspace

cbssslt
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 [hidden email].
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 | Threaded
Open this post in threaded view
|

Re: Pipeline groovy script git checkout on master workspace

Mark Waite-2
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 <[hidden email]> 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 [hidden email].
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.

--
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 [hidden email].
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.