Re: Shallow clone example for declarative pipeline?
I mean, for the checkout scm part above... not a separate "git clone --depth 1 ..." -- 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-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/616a459f-55d4-4511-b061-b0188fbe6b54%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Shallow clone example for declarative pipeline?
Could someone please provide an example for shallow clone in a declarative pipeline? pipeline { options { ansiColor('xterm') skipDefaultCheckout() disableConcurrentBuilds() } stages { steps { checkout scm ... } } } -- 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-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/b2ab1afe-1ea9-46f1-81c9-4509a4d56c8f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.