Stop triggering maven downstream build based on some condition
40 views
Skip to first unread message
swastika basu
unread,
Apr 2, 2015, 8:46:18 PM4/2/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jenkins...@googlegroups.com
Hi All,
Need a help with Maven build job conditional downstream trigger . Currently we have 150+ maven jobs which are interrelated with "Build whenever a SNAPSHOT dependency is built" trigger. We have also enabled Enable triggering of downstream projects. However we want to trigger the downstream jobs only when there is source code change in the current job.Otherwise we see because of execution of single job serially triggers all 150 jobs . We tried using Run condition plugin or flexible publish plugin, however the current plugins expects us to enter the job names manually and disable to the checkbox "Enable triggering of downstream projects", however if we do that then we lose the automatic scanning for upstream-downstream job relationship based on maven pom. Can someone please suggest if we can use any existing plugin and make this automated?