Re: automatic behavior after job fails on a node

2015-12-23 Thread Jay Berkenbilt
Ultimately I ended up getting this working by using https://wiki.jenkins-ci.org/display/JENKINS/Global+Post+Script+Plugin with a one line change, which will be in 1.1.0, to allow the hook to run on aborted jobs as well as others. These other plugins were very helpful. I was mostly through writing a

Re: automatic behavior after job fails on a node

2015-12-15 Thread 'Robert Sandell' via Jenkins Developers
There is a todo in the Build Failure Analyser plugin to add steps to take in case a specific failure cause is found. But we never got around to implementing it. If you are interested you're welcome to taking a crack at it. https://wiki.jenkins-ci.org/display/JENKINS/Build+Failure+Analyzer /B On

Re: automatic behavior after job fails on a node

2015-12-14 Thread oliver gondža
https://wiki.jenkins-ci.org/display/JENKINS/Adaptive+disconnector+plugin is here to prevent some of that putting slave temporarily offline in case some of the monitors is triggered. Most notably full workspace, temp dir. If you implement your check as Jenkins monitor, it will integrate nicely

automatic behavior after job fails on a node

2015-12-14 Thread Jay Berkenbilt
Executive Summary: I'm looking to build/modify/extend a plugin to give me something like a global post-build hook for the purpose of mitigating a problem we have with sick nodes gobbling up jobs from the build queue. I have some ideas but am looking for advice before I put a lot of work into solvin