diff --git a/Jenkinsfile b/Jenkinsfile
index 3e5e2be1a85cfc3c0ad0d70c46fff8dd2ffd967a..f9348236bff042cb87c1ab42ca913266e5057bd5 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' && !(${e} =~ /^.+FlowInterruptedException\$/)) {
     slackSend channel: "#monitoring-metrology",
         color: "#F30031",
         message: "*FAILURE*: `CENTREON WEB` <${env.BUILD_URL}|build #${env.BUILD_NUMBER}> on branch ${env.BRANCH_NAME}\n" +