From bd52724be1fbaac70cb9f7ceedcedb9daa2bfd36 Mon Sep 17 00:00:00 2001
From: Matthieu Kermagoret <mkermagoret@centreon.com>
Date: Wed, 23 May 2018 16:32:04 +0200
Subject: [PATCH] Revert "build(jenkinsfile): update jenkinsfile to avoid slack
 message on build cancel"

This reverts commit f0d030e2db9aa9e1c2030bf4fc5ac95dd9ab397f.
---
 Jenkinsfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index f9348236bf..f6e08f8a27 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -163,7 +163,7 @@ try {
     build job: 'des-mbi-bundle-centos7', wait: false
   }
 } catch(e) {
-  if (env.BRANCH_NAME == '2.8.x' && !(${e} =~ /^.+FlowInterruptedException\$/)) {
+  if (env.BRANCH_NAME == '2.8.x') {
     slackSend channel: "#monitoring-metrology",
         color: "#F30031",
         message: "*FAILURE*: `CENTREON WEB` <${env.BUILD_URL}|build #${env.BUILD_NUMBER}> on branch ${env.BRANCH_NAME}\n" +
-- 
GitLab