Skip to content

Instantly share code, notes, and snippets.

@breskeby
Last active August 29, 2015 14:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save breskeby/b8b420d1016e2b173202 to your computer and use it in GitHub Desktop.
Save breskeby/b8b420d1016e2b173202 to your computer and use it in GitHub Desktop.
react on failed builds
// 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