Private GIT

Skip to content
Snippets Groups Projects
Commit f0d030e2 authored by Kevin Duret's avatar Kevin Duret Committed by Matthieu Kermagoret
Browse files

build(jenkinsfile): update jenkinsfile to avoid slack message on build cancel

parent d289e889
Branches
Tags
No related merge requests found
...@@ -163,7 +163,7 @@ try { ...@@ -163,7 +163,7 @@ try {
build job: 'des-mbi-bundle-centos7', wait: false build job: 'des-mbi-bundle-centos7', wait: false
} }
} catch(e) { } catch(e) {
if (env.BRANCH_NAME == '2.8.x') { if (env.BRANCH_NAME == '2.8.x' && !(${e} =~ /^.+FlowInterruptedException$/)) {
slackSend channel: "#monitoring-metrology", slackSend channel: "#monitoring-metrology",
color: "#F30031", color: "#F30031",
message: "*FAILURE*: `CENTREON WEB` <${env.BUILD_URL}|build #${env.BUILD_NUMBER}> on branch ${env.BRANCH_NAME}\n" + message: "*FAILURE*: `CENTREON WEB` <${env.BUILD_URL}|build #${env.BUILD_NUMBER}> on branch ${env.BRANCH_NAME}\n" +
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment