Hi Mark, this does exactly what I need, many thanks. I actually used the "pipeline syntax" link, but I was too much focussed on the "git" step instead of thinking about the checkout step.
Many thanks, Marc On Monday, 6 February 2017 14:32:32 UTC+1, Marc Rohlfs wrote: > > Hi there, > > how can I define a Git repository with 2 remotes in Pipeline DSL? > Unfortunaltely, *Multiple SCMs* don't seem to work for me, because I need > a clone that is connected to two remote repositories. I actually need this > to implement an automated sync for a vendor branching. > > Any ideas? > > Many thanks in advance > > Marc > -- 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/3599724e-33b5-4826-9cba-97de136ba112%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.