修改jenkinsfile

This commit is contained in:
wangtianqi 2025-06-25 13:48:01 +08:00
parent 9caa5c3b58
commit 1610ebaa27

6
Jenkinsfile vendored
View File

@ -440,7 +440,6 @@ EOF
post { post {
always { always {
node {
script { script {
echo '🧹 清理工作空间...' echo '🧹 清理工作空间...'
try { try {
@ -464,7 +463,6 @@ EOF
} }
} }
} }
}
success { success {
script { script {
@ -495,7 +493,6 @@ EOF
} }
failure { failure {
node {
script { script {
echo '❌ 流水线执行失败!' echo '❌ 流水线执行失败!'
def message = """ def message = """
@ -520,10 +517,8 @@ EOF
''' '''
} }
} }
}
cleanup { cleanup {
node {
script { script {
try { try {
// 清理工作空间 // 清理工作空间
@ -536,4 +531,3 @@ EOF
} }
} }
} }
}