Commit 7617c96f authored by daidekun's avatar daidekun

fix

parent 34bd6be6
......@@ -116,12 +116,14 @@ def call(body) {
}
}
} catch (err) {
if (imageTag) {
_stage.clean_images(imageTag)
ansiColor('xterm') {
if (imageTag) {
_stage.clean_images(imageTag)
}
currentBuild.result = 'FAILED'
_utils.beautyEcho(err, "fail")
throw err
}
currentBuild.result = 'FAILED'
_utils.beautyEcho(err, "fail")
throw err
}
}
}
\ No newline at end of file
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