Permalink
Browse files
Help ensure cleanup on errors.
- Loading branch information
Showing
with
3 additions
and
0 deletions.
-
+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' |
|
|
} |