From fa371f0c2e10e4243a725292fb1b9323e0ebff6b Mon Sep 17 00:00:00 2001
From: wangzilun <964606955@qq.com>
Date: Tue, 08 Mar 2022 18:06:42 +0800
Subject: [PATCH] 补充11
---
Jenkinsfile | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index fa2a0b4..9bd41d4 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -121,8 +121,10 @@
post {
unsuccessful {
- msg = "当前构建失败,\n提交人:${env.GIT_COMMIT_AUTHOR}\n提交信息:\n${env.GIT_COMMIT_MSG}\n 构建内网链接:${BUILD_URL}"
- echo $msg
+ script{
+ msg = "当前构建失败,\n提交人:${env.GIT_COMMIT_AUTHOR}\n提交信息:\n${env.GIT_COMMIT_MSG}\n 构建内网链接:${BUILD_URL}"
+ echo "$msg"
+ }
}
}
}
\ No newline at end of file
--
Gitblit v1.9.1