Update Jenkinsfile

This commit is contained in:
jc21 2018-05-18 09:33:41 +10:00 committed by GitHub
parent b14804cac7
commit 184a1cc6f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
Jenkinsfile vendored
View File

@ -52,9 +52,11 @@ pipeline {
post {
success {
slackSend color: "#72c900", message: "SUCCESS: <${BUILD_URL}|${JOB_NAME}> build #${BUILD_NUMBER} - ${currentBuild.durationString}"
sh 'figlet "SUCCESS"'
}
failure {
slackSend color: "#d61111", message: "FAILED: <${BUILD_URL}|${JOB_NAME}> build #${BUILD_NUMBER} - ${currentBuild.durationString}"
sh 'figlet "FAILURE"'
}
always {
sh 'docker rmi $TEMP_IMAGE_NAME'