We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c2730a commit 0c5d4e4Copy full SHA for 0c5d4e4
jenkins/etl.Jenkinsfile
@@ -39,5 +39,12 @@ pipeline {
39
docker stop $CUR_PROJ-$JOB_NAME-$TMP_SUFFIX || :
40
'''
41
}
42
+ always {
43
+ slackSend(
44
+ channel: '#mpi-alerts',
45
+ message: "Job *${env.JOB_NAME} [${env.BUILD_NUMBER}]* finished with status: *${currentBuild.currentResult}* in ${currentBuild.durationString}. \nDetails: ${env.BUILD_URL}",
46
+ color: currentBuild.currentResult == 'SUCCESS' ? 'good' : (currentBuild.currentResult == 'FAILURE' ? 'danger' : 'warning')
47
+ )
48
+ }
49
50
0 commit comments