Re: How to define a Git repository with two remotes in Pipeline DSL?

2017-02-06 Thread 'Marc Rohlfs' via Jenkins Users
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

Re: How to define a Git repository with two remotes in Pipeline DSL?

2017-02-06 Thread Mark Waite
I don't know how to do that with pipeline DSL (though I suspect it is possible). With a regular pipeline script, you can use the "pipeline syntax" link on a pipeline job definition to choose the "checkout" step. That step will allow you to define multiple remotes for a single working directory.

How to define a Git repository with two remotes in Pipeline DSL?

2017-02-06 Thread 'Marc Rohlfs' via Jenkins Users
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? Ma