Detecting when a previously broken build is fixed [message #1072296] |
Mon, 22 July 2013 09:30  |
Eclipse User |
|
|
|
We're using Hudson to manage our builds and have a script that are triggered if a build fails. This is triggered by the 'Post Build task' plugin seeing the log text 'BUILD FAILURE' in our output.
What I would like to be able to do is execute a script when the build succeeds AND the previous build was a failure. i.e. a failing build has now been fixed. I've been trying to figure out some way I can put the state of the previous build into the log output, then I could setup a rule that triggers if the builds succeeds and the previous build was a failure.
This is hopefully a simple thing to achieve but so far I've not figured it out. Does anyone have any suggestions how to do this? Or some other approach to triggering a script when a previously broken build is fixed?
Thanks.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05070 seconds