Skip to content
Permalink
Browse files

Help ensure cleanup on errors.

  • Loading branch information
Mason Packard
Mason Packard committed Sep 14, 2016
1 parent 89dadf5 commit 0956c4b000495db798cf531965e22cbca85bc407
Showing with 3 additions and 0 deletions.
  1. +3 −0 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.
You can’t perform that action at this time.