Skip to content

Commit 95d9e87

Browse files
committed
Update CI notifications
1 parent 1382350 commit 95d9e87

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Jenkinsfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,11 @@ pipeline {
9292
}
9393
post {
9494
success {
95-
slackSend color: "#72c900", message: "SUCCESS: <${BUILD_URL}|${JOB_NAME}> build #${BUILD_NUMBER} - ${currentBuild.durationString}"
95+
juxtapose event: success
9696
sh 'figlet "SUCCESS"'
9797
}
9898
failure {
99-
slackSend color: "#d61111", message: "FAILED: <${BUILD_URL}|${JOB_NAME}> build #${BUILD_NUMBER} - ${currentBuild.durationString}"
99+
juxtapose event: failure
100100
sh 'figlet "FAILURE"'
101101
}
102102
}
@@ -106,3 +106,4 @@ def getPackageVersion() {
106106
ver = sh(script: 'docker run --rm -v $(pwd)/manager:/data $DOCKER_CI_TOOLS bash -c "cat /data/package.json|jq -r \'.version\'"', returnStdout: true)
107107
return ver.trim()
108108
}
109+

0 commit comments

Comments
 (0)