From 3ad08913d36ef49f82b6e35a7c69c872b3d91816 Mon Sep 17 00:00:00 2001
From: wangzilun <964606955@qq.com>
Date: Tue, 08 Mar 2022 18:15:53 +0800
Subject: [PATCH] 补充16

---
 Jenkinsfile |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index b27c287..ff1335b 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -122,10 +122,9 @@
     post {
         unsuccessful {
             script{
-                 msg =  "当前构建失败,\n提交人:${env.GIT_COMMIT_AUTHOR}\n提交信息:\n${env.GIT_COMMIT_MSG}\n 构建内网链接:${BUILD_URL}"
-                 echo "$msg"
-
                  sh '''
+                    msg="当前构建失败,\n提交人:${env.GIT_COMMIT_AUTHOR}\n提交信息:\n${env.GIT_COMMIT_MSG}\n 构建内网链接:${env.BUILD_URL}"
+                    echo "$msg"
                     sendqq(){
                       rm -f tmp_in
                       mknod tmp_in p

--
Gitblit v1.9.1