message: "*${currentBuild.currentResult}:* JOB ${env.JOB_NAME} | BUILD N° = ${env.BUILD_NUMBER}\n Plus d'infos: ${env.BUILD_URL} \n Une nouvelle image est disponible pour le projet WAQF\n Message du commit : ${env.GIT_COMMIT_MSG} \n Lien du commit: http://gitlab.baamtu.com/olimata.sy/waqf/commit/${env.GIT_COMMIT} "
}
failure {
slackSend channel: '#demo',
color: COLOR_MAP[currentBuild.currentResult],
message: "*${currentBuild.currentResult}:* JOB ${env.JOB_NAME} | BUILD N° = ${env.BUILD_NUMBER}\n Plus d'infos: ${env.BUILD_URL} \n Message du commit : ${env.GIT_COMMIT_MSG} \n Lien du commit: http://gitlab.baamtu.com/olimata.sy/waqf/commit/${env.GIT_COMMIT}"