Skip to content

Commit 06f0345

Browse files
committed
add jenkins slack notifications
Signed-off-by: lwsanty <[email protected]>
1 parent a07e10b commit 06f0345

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Jenkinsfile

+8
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,12 @@ pipeline {
6767
}
6868
}
6969
}
70+
post {
71+
success {
72+
slackSend (color: '#2eb886', message: "SUCCESS: `${env.JOB_NAME}` <${env.BUILD_URL}|build #${env.BUILD_NUMBER}>")
73+
}
74+
failure {
75+
slackSend (color: '#b82e60', message: "FAILED: `${env.JOB_NAME}` <${env.BUILD_URL}|build #${env.BUILD_NUMBER}>")
76+
}
77+
}
7078
}

0 commit comments

Comments
 (0)