From 5ad75fd39e23258d1ccc7c1328cc0ed98d164e78 Mon Sep 17 00:00:00 2001
From: wangzilun <964606955@qq.com>
Date: Tue, 08 Mar 2022 18:17:54 +0800
Subject: [PATCH] 补充17

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

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

--
Gitblit v1.9.1