Managing multiple repos using github pull request builder and SCM plugin using jenkins

21 views
Skip to first unread message

Nishanth Prakash

unread,
Mar 18, 2017, 3:31:46 PM3/18/17
to Jenkins Users
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

Stephen Connolly

unread,
Mar 18, 2017, 5:48:44 PM3/18/17
to jenkins...@googlegroups.com
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...@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-use...@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.
For more options, visit https://groups.google.com/d/optout.
--
Sent from my phone
Reply all
Reply to author
Forward
0 new messages