Last active
August 29, 2015 14:02
-
-
Save breskeby/b8b420d1016e2b173202 to your computer and use it in GitHub Desktop.
react on failed builds
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// this needs some more logic to track "build failures". (e.g. via taskListener) | |
task pushWhenSuccess << { | |
// react on build successful | |
} | |
task resetOnFail << { | |
// react on build failed | |
} | |
task release{ | |
finalizedBy pushWhenSuccess, resetOnFail | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment