Commit 47da790c authored by daidekun's avatar daidekun

debugs

parent 75818a10
......@@ -4,11 +4,7 @@ import org.qg.docker.Utils;
import groovy.json.JsonSlurperClassic;
def debug() {
res_json = project_attr("pinjamancepat-credit-review-ui")
gitPath = res_json["gitPath"]
host = res_json["host"]
echo gitPath
echo host
Utils.beautyEcho("debug", "info")
}
def before_prepare(contextDir) {
......@@ -174,7 +170,7 @@ def dockerbuild_and_push(buildNumber, branchName, harborGroup, systemName, conte
}
echo "=================镜像地址================="
echo imageTag
Utils.beautyEcho(imageTag, "info")
echo "========================================="
return imageTag
......
......@@ -104,7 +104,7 @@ def call(body) {
stage('Deploy') {
_utils.beautyEcho("Docker Build And Push", "stage")
def deploy_log = _stage.deploy(namespace, systemName, imageTag, config.tier, isDeploy)
_utils.beautyEcho(deploy_log, "blue")
_utils.beautyEcho(deploy_log, "info")
}
stage("Clean") {
......@@ -119,6 +119,7 @@ def call(body) {
_stage.clean_images(imageTag)
}
currentBuild.result = 'FAILED'
_utils.beautyEcho(err, "fail")
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