From 3b082430ec6a7c87f3cc00eadcb5476bc4bf87c0 Mon Sep 17 00:00:00 2001
From: wangzilun <964606955@qq.com>
Date: Wed, 09 Mar 2022 11:10:16 +0800
Subject: [PATCH] ttt5

---
 Jenkinsfile |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 9b52a0a..168eced 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -122,10 +122,18 @@
     post {
         unsuccessful {
             script{
-                def msg = "当前构建失败<br>---------------------<br>提交人:${GIT_COMMIT_AUTHOR}<br>提交信息:<br>${GIT_COMMIT_MSG}<br>---------------------<br>构建内网链接:${BUILD_URL}console"
+                def msg = '''
+                        当前构建失败<br>
+                        ---------------------<br>
+                        提交人:${GIT_COMMIT_AUTHOR}<br>
+                        提交信息:<br>
+                        ${GIT_COMMIT_MSG}<br>
+                        ---------------------<br>
+                        构建内网链接:${BUILD_URL}console
+                    '''
                 def number = "964606955"
                 sendMessage(true,number,msg);
-
+            }
         }
     }
 }
\ No newline at end of file

--
Gitblit v1.9.1