Rerun a build after a failure, once a restriction is lifted.

12 views
Skip to first unread message

Katie Outram

unread,
Jun 23, 2015, 3:44:01 PM6/23/15
to jenkins...@googlegroups.com

We are using the Jenkins build flow dsl plugin to execute our builds

When a build fails because a branch is locked, we want to be able to retrigger a build only when the branch has been reopened, without manually going into Jenkins to retrigger it as there could be hundreds of builds that need retriggered.

I have found several plugins that offer a rerun of a build, but they will rerun a build based off a time that passed, not off whether a branch is open for commits.   I currently have the naginator plugin in place and that will retry a failed build after 24 hours.    I do have one issue with this, and it is that it clutters the display with the builds that are in the "queued" state.   Does anyone have a way to make it so the display isn't cluttered?  

 

Has anyone implemented something similar to this before, and if so what steps did you take?
If you are using the build flow plugin, are there any additional parameters you can pass the retry option to only build after a certain condition is met?

Reply all
Reply to author
Forward
0 new messages