Commit f6cf6ca4 authored by daidekun's avatar daidekun

clean_images

parent 3ea9b0ed
...@@ -111,18 +111,18 @@ def call(body) { ...@@ -111,18 +111,18 @@ def call(body) {
_utils.beautyEcho(deploy_log, "info") _utils.beautyEcho(deploy_log, "info")
} }
/* stage("Clean") { stage("Clean") {
_utils.beautyEcho("Clean", "stage") _utils.beautyEcho("Clean", "stage")
_stage.clean_images(imageTag) _stage.clean_images(imageTag)
}*/ }
} }
} }
} }
} catch (err) { } catch (err) {
ansiColor('xterm') { ansiColor('xterm') {
/* if (imageTag) { if (imageTag) {
_stage.clean_images(imageTag) _stage.clean_images(imageTag)
}*/ }
currentBuild.result = 'FAILED' currentBuild.result = 'FAILED'
_utils.beautyEcho(err, "fail") _utils.beautyEcho(err, "fail")
throw err throw err
......
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