Trigger single job by multiple git repos

14 views
Skip to first unread message

Gouri Nair

unread,
Aug 27, 2015, 1:17:35 PM8/27/15
to Jenkins Users
Hi,

I have a jenkins job A which builds from git repo A.
There are other repos B, C, D etc with their own jenkins jobs. Now the requirement is have is to trigger a maven deploy step on job A whenever there is a change-merged on A,B,C or D.

On job A, on gerrit trigger event field, i listed all the repos(A,B,C and D) with the corresponding branches. And then added a conditional post build step for maven deploy in the event of change-merged. A change-merged event on repo B, did trigger job A, but it fails to find the reference to build since the change is on repo B and the source code control is from repo A.

Does any one know how to implement this one? Or is there a plugin available?

Thank you,
Gouri
Reply all
Reply to author
Forward
0 new messages