Tomishinets Vladimir 4 years ago
parent
commit
3c821db9ec
1 changed files with 9 additions and 9 deletions
  1. 9 9
      devK8s.Jenkinsfile

+ 9 - 9
devK8s.Jenkinsfile

@@ -98,13 +98,13 @@ pipeline {
     //   }
     //   }
     // }
     // }
   }
   }
-  post {
-    failure {
-      mail charset: 'UTF-8',
-           subject: "Jenkins build ERROR",
-           mimeType: 'text/html',
-           to: "${mailto}",
-           body: "<b>ATTENTION!!!</b> <b><br> Jenkins job failed.\n\n <b><br>Project Name:</b> ${env.JOB_NAME} <b><br>\nBuild Number:</b> ${env.BUILD_NUMBER} <b><br>\nURL Build:</b> ${RUN_DISPLAY_URL}"
-    }
-  }
+  // post {
+  //   failure {
+  //     mail charset: 'UTF-8',
+  //          subject: "Jenkins build ERROR",
+  //          mimeType: 'text/html',
+  //          to: "${mailto}",
+  //          body: "<b>ATTENTION!!!</b> <b><br> Jenkins job failed.\n\n <b><br>Project Name:</b> ${env.JOB_NAME} <b><br>\nBuild Number:</b> ${env.BUILD_NUMBER} <b><br>\nURL Build:</b> ${RUN_DISPLAY_URL}"
+  //   }
+  // }
 }
 }