Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Help ensure cleanup on errors.
Mason Packard committed Sep 14, 2016
1 parent 89dadf5 commit 0956c4b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Jenkinsfile
@@ -84,5 +84,8 @@ def handleError(String message){
currentBuild.setResult("FAILED")
slackSend color: 'danger', message: "${message}"
//step([$class: 'Mailer', notifyEveryUnstableBuild: true, recipients: 'chris.bynum@levvel.io', sendToIndividuals: true])

sh "bin/remove-${project}.sh"

sh 'exit 1'
}

0 comments on commit 0956c4b

Please sign in to comment.