修改jenkinsfile
This commit is contained in:
parent
9caa5c3b58
commit
1610ebaa27
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -440,7 +440,6 @@ EOF
|
||||
|
||||
post {
|
||||
always {
|
||||
node {
|
||||
script {
|
||||
echo '🧹 清理工作空间...'
|
||||
try {
|
||||
@ -464,7 +463,6 @@ EOF
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
success {
|
||||
script {
|
||||
@ -495,7 +493,6 @@ EOF
|
||||
}
|
||||
|
||||
failure {
|
||||
node {
|
||||
script {
|
||||
echo '❌ 流水线执行失败!'
|
||||
def message = """
|
||||
@ -520,10 +517,8 @@ EOF
|
||||
'''
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cleanup {
|
||||
node {
|
||||
script {
|
||||
try {
|
||||
// 清理工作空间
|
||||
@ -536,4 +531,3 @@ EOF
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user