Stop job building before dependency, on svn updates

4 views
Skip to first unread message

Sean Dawson

unread,
May 5, 2016, 9:56:47 AM5/5/16
to Jenkins Users

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.

Reply all
Reply to author
Forward
0 new messages