Commit 83a2795e authored by wentao.suo's avatar wentao.suo

ffff

parent 188113f8
......@@ -70,14 +70,10 @@ def call(body) {
imageTag = _stage.imageTag(harborGroup,k8sSystemName,safeBranchName,timeStemp)
_stage.dockerMake(imageTag,buildNumber,systemName,branchName,cluster,timeStemp)
_utils.beautyEcho("Deploy To K8s Cluster", "stage")
_utils.beautyEcho("Deploy image: ${imageTag} to:${namespace}", "info")
_utils.beautyEcho("Deploy To K8s Cluster image: ${imageTag} to:${namespace}", "stage")
_stage.deploy(namespace, systemName, imageTag, config.tier, isDeploy)
}
}
......@@ -87,13 +83,10 @@ def call(body) {
_stage.clean_images(imageTag,contextDir)
}
}catch (err) {
} catch (err) {
_utils.beautyEcho(err, "fail")
_stage.clean_images(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