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

fffff

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