Commit 017715b4 authored by wentao.suo's avatar wentao.suo

fix

parent 9c8b93b1
......@@ -97,7 +97,9 @@ def call(body) {
} catch (err) {
_utils.beautyEcho(err, "fail")
_stage.clean_images(imageTagInfos[0]["imageTag"],contextDir)
if(imageTagInfos != null){
_stage.clean_images(imageTagInfos[0]["imageTag"],contextDir)
}
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