Thanks - definitely helped preventing two checkouts at least! I guess I was a little surprised there is no options for that initial checkout, but still workable like this.
Andy. On Monday, 6 November 2017 12:40:14 UTC+11, Mark Waite wrote: > > You may need to use the "skipDefaultCheckout" option, then use an explicit > "checkout" inside a "dir" or other directive that will control the checkout > directive. > > See skipDefaultCheckout in https://jenkins.io/doc/book/pipeline/syntax/ > > Mark Waite > > On Sun, Nov 5, 2017 at 3:56 PM Andy Coates <andy....@gmail.com > <javascript:>> wrote: > >> Hi, >> >> Multibranch Declarative Pipeline seems to have an inbuilt step "Checkout >> SCM" that is run before my defined stages that clones the project repo into >> $WORKSPACE >> >> How do I change that directory it clones into? e.g. $WORKSPACE/repo_name >> >> Thanks! >> >> -- >> 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 <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-users/b6823af7-9f33-4699-bf93-ecc832995508%40googlegroups.com >> >> <https://groups.google.com/d/msgid/jenkinsci-users/b6823af7-9f33-4699-bf93-ecc832995508%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 jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/da176e75-a1c5-4b73-8fe9-3ad5d2d2a52d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.