Jenkins Maven repository server supports multiple upstream projects?

27 views
Skip to first unread message

hezjing

unread,
Mar 25, 2016, 1:33:06 AM3/25/16
to Jenkins Users
Hi

It looks like the Maven repository server only allow us to configure one upstream project.

Imagine that I have a project C, which has dependency to project A and B.

How can configure the Maven repository server to take the last successful build from project A and B?

Nigel Magnay

unread,
Mar 25, 2016, 5:34:40 AM3/25/16
to jenkins...@googlegroups.com
You can't.

What you can do is if your build is A->B->C, you can specify C's upstream repository as 'repositoryChain', so it will include both A and B (where B takes priority over A).

You could can extend the rules - possibly even with different resolution rules, but it's not something anyone has done to date.


--
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/2d1c5ed3-9bbc-49b9-a550-8d214a57d5ca%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages