Commit b2a2155d authored by wentao.suo's avatar wentao.suo

ffff

parent 559f757a
...@@ -97,23 +97,25 @@ def call(body) { ...@@ -97,23 +97,25 @@ def call(body) {
} }
stage('Deploy To K8s Cluster'){
_utils.beautyEcho("Deploy To K8s Cluster", "stage")
def deploy_log = _stage.deploy(namespace, systemName, imageTag, config.tier, isDeploy)
_utils.beautyEcho(deploy_log, "info")
}
} }
}catch (err) { }catch (err) {
_utils.beautyEcho("run error", "fail") _utils.beautyEcho("clean error", "fail")
try{ _utils.beautyEcho(err, "fail")
currentBuild.result = 'FAILED'
_utils.beautyEcho(err, "fail")
}catch (err1) {
_utils.beautyEcho("clean error", "fail")
_utils.beautyEcho(err1, "fail")
}
}finally{ }finally{
_utils.beautyEcho("finally", "info") _utils.beautyEcho("clean cache", "info")
/* sh "rm -rf ${contextDir}"*/ /* sh "rm -rf ${contextDir}"*/
_stage.clean_images(imageTag) _stage.clean_images(imageTag)
} }
......
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