Browse Source

更新 Jenkinsfile

alair 4 months ago
parent
commit
6b2d0c0ba5
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Jenkinsfile

+ 2 - 2
Jenkinsfile

@@ -50,7 +50,7 @@ pipeline{
                 robot: 'Jenkins-DingDing',
                 type: 'MARKDOWN',
                 title: "success: ${JOB_NAME}"
-                text: ["- 成功构建:${JOB_NAME}\n- 版本: ${tag} \n- 持续时间:${currentBuild.durationString}"]
+                text: ["- 成功构建:${JOB_NAME}!\n- 版本: ${tag} \n- 持续时间:${currentBuild.durationString}"]
             }
         }
         failure {
@@ -58,7 +58,7 @@ pipeline{
                 robot: 'Jenkins-DingDing',
                 type: 'MARKDOWN',
                 title: "success: ${JOB_NAME}"
-                text: ["- 构建失败:${JOB_NAME}\n- 版本: ${tag} \n- 持续时间:${currentBuild.durationString}"]
+                text: ["- 构建失败:${JOB_NAME}!\n- 版本: ${tag} \n- 持续时间:${currentBuild.durationString}"]
             }
         }
     }