Apologies if this is simple / covered elsewhere but I couldn't figure out how to get this setup correctly.
We have two maven jobs where one has dependencies on the other, lets call them A and B. If there's an svn checkin to both, the second one seems to often build first, and fails. We check for svn updates in both projects every 15 mins.
A:
Build triggers: Poll SCM
Build other projects: B, if build is stable
B:
Build triggers: Build whenever a SNAPSHOT dependency is built; Poll SCM
We'd like the projects to build if either one gets files updated, but if both do, build A first then B.
Thank you.