Hi all, My jenkins server (v1.473) builds several branches of a same Maven artifact. Maven coordinates are exactly identical between these branches. Build isolation between branches is done by using a specific Maven / Nexus repository for each branch group (trunk / release-fr / release-uk).
I have activated the SNAPSHOT dependency build trigger. Currently, it has set as downstream jobs all jobs / branches for a given artifact. I would like jobs for a given branch group only trigger builds on jobs of the same group. For instance, the job for upstreamModule/trunk should trigger a build on downstreamModule/trunk, but not on downstreamModule/release-uk, and vice versa. Could this be achieved using SNAPSHOT dependency build trigger, or do I have to explicitely define the build dependencies? I looked at MavenModule.getDependencyRelevancy() and it seems to only use Maven goals to determine relevancy. Would it be the right place to add a VCS branch name based relevancy? Thanks, Maxime