Commit 675d0ce5 authored by wentao.suo's avatar wentao.suo

fffff

parent bc3f4f01
......@@ -99,12 +99,15 @@ def call(body) {
}
}catch (err) {
_utils.beautyEcho("run error", "fail")
try{
currentBuild.result = 'FAILED'
_utils.beautyEcho(err, "fail")
}catch (err1) {
_utils.beautyEcho("clean error", "fail")
_utils.beautyEcho(err1, "fail")
}
......
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