Commit 2fc01b1c authored by wentao.suo's avatar wentao.suo

fff

parent 7ef11a8c
...@@ -36,7 +36,9 @@ def beautyEcho(content, type) { ...@@ -36,7 +36,9 @@ def beautyEcho(content, type) {
break break
} }
ansiColor('xterm') {
echo result echo result
}
} }
def copyDockerFiles() { def copyDockerFiles() {
......
...@@ -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 {
...@@ -101,7 +101,7 @@ def call(body) { ...@@ -101,7 +101,7 @@ def call(body) {
currentBuild.result = 'FAILED' currentBuild.result = 'FAILED'
_utils.beautyEcho(err, "fail") _utils.beautyEcho(err, "fail")
}
}catch (err1) { }catch (err1) {
_utils.beautyEcho(err, "fail") _utils.beautyEcho(err, "fail")
} }
...@@ -111,8 +111,5 @@ def call(body) { ...@@ -111,8 +111,5 @@ 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