浏览代码

missprint

tomishinets.v 5 年之前
父节点
当前提交
ed9a9b722e
共有 1 个文件被更改,包括 1 次插入8 次删除
  1. 1 8
      Jenkinsfile.renewal

+ 1 - 8
Jenkinsfile.renewal

@@ -40,7 +40,7 @@ pipeline {
            subject: "Jenkins build SUCCESS",
            mimeType: 'text/html',
            to: "${mailto}",
-           body: "<b>ATTENTION!!!</b> <b><br> Jenkins job successed.\n\n <b><br>Project Name:</b> ${env.JOB_NAME} <b><br>Generate certs and key for ${domain}</b> <b><br>\nBuild Number:</b> ${env.BUILD_NUMBER} <b><br>\nURL Build:</b> ${RUN_DISPLAY_URL}"
+           body: "<b>ATTENTION!!!</b> <b><br> Jenkins job successed.\n\n <b><br>Project Name:</b> ${env.JOB_NAME} <b><br>Renewal certs and keys</b> <b><br>\nBuild Number:</b> ${env.BUILD_NUMBER} <b><br>\nURL Build:</b> ${RUN_DISPLAY_URL}"
     }
     failure {
       mail charset: 'UTF-8',
@@ -49,12 +49,5 @@ pipeline {
            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}"
     }
-    aborted {
-      mail charset: 'UTF-8',
-           subject: "Jenkins build ERROR",
-           mimeType: 'text/html',
-           to: "${mailto}",
-           body: "<b>ATTENTION!!!</b> <b><br> Jenkins job aborted.\n\n <b><br> The CNAME ${key_name} is already exists!\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}"
-    }
   }
 }