Commit 7ef11a8c authored by wentao.suo's avatar wentao.suo

ff

parent 008cc4c6
...@@ -33,7 +33,7 @@ def call(body) { ...@@ -33,7 +33,7 @@ def call(body) {
body.resolveStrategy = Closure.DELEGATE_FIRST body.resolveStrategy = Closure.DELEGATE_FIRST
body.delegate = config body.delegate = config
body() body()
ansiColor('xterm') {
node { node {
try { try {
...@@ -98,7 +98,7 @@ def call(body) { ...@@ -98,7 +98,7 @@ def call(body) {
}catch (err) { }catch (err) {
try{ try{
ansiColor('xterm') {
currentBuild.result = 'FAILED' currentBuild.result = 'FAILED'
_utils.beautyEcho(err, "fail") _utils.beautyEcho(err, "fail")
} }
...@@ -111,5 +111,8 @@ def call(body) { ...@@ -111,5 +111,8 @@ def call(body) {
_stage.clean_images(imageTag) _stage.clean_images(imageTag)
} }
} }
}
}
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment