diff --git a/Jenkinsfile b/Jenkinsfile
index 7ce0ae2..bb791bc 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -11,6 +11,7 @@ pipeline {
DEPLOYMENT_NAME = "deploy.yml"
STATUS_URL = "http://qf.jenkins.vip:30210/job/test/${BUILD_NUMBER}"
CONSOLE_URL = "http://qf.jenkins.vip:30210/job/test/${BUILD_NUMBER}/console"
+ status = ${currentBuild.result}
}
agent {
kubernetes {
@@ -90,7 +91,7 @@ spec:
text: [
'### 项目 ${PROJECT_NAME}',
'---',
- '- 状态:${currentBuild.result}',
+ '- 状态:$\(currentBuild.result\) $\{currentBuild.result\} ${env.status}',
'- 版本:${BUILD_NUMBER}',
'- [查看部署详情](${STATUS_URL})',
'- [查看日志Console](${CONSOLE_URL})'