Pipeline multibranch will get you half way there with the resolveScm step
(what's missing is triggering based on changes to the second repository)

On Sat 18 Mar 2017 at 19:31, Nishanth Prakash <nishanth.prak...@gmail.com>
wrote:

> I need to track only two branches. One of the branch it need to track is
> specified using SHA value, if that is null it should default back to
> master? Is there anyway to do that using SCM plugin?
>
> 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-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/1b99868d-f22d-4108-a15b-f246e03d3663%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/1b99868d-f22d-4108-a15b-f246e03d3663%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 
Sent from my phone

-- 
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/CA%2BnPnMzRSAxOLm3zcYe%3DzJajCRmXEy0GoJFZhKOWOVPne%3Deh8g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to