Commit 49917404 authored by 智勇's avatar 智勇

up

parent 28fd1922
...@@ -78,7 +78,7 @@ def project_attr(systemName) { ...@@ -78,7 +78,7 @@ def project_attr(systemName) {
def update_microservice(namespace, name, image, tier) { def update_microservice(namespace, name, image, tier) {
dest_url = "http://172.30.220.22:3003/k8s/service/modifyImage" dest_url = "http://172.30.220.22:3003/k8s/service/modifyImage"
response = httpRequest httpMode:"POST", response = httpRequest httpMode:"POST",
consoleLogResponseBody:true, consoleLogResponseBody:true,
contentType:"APPLICATION_JSON", contentType:"APPLICATION_JSON",
...@@ -554,6 +554,7 @@ def dockerbuild_and_push(imageTagInfo,buildNumber,systemName,branchName,cluster, ...@@ -554,6 +554,7 @@ def dockerbuild_and_push(imageTagInfo,buildNumber,systemName,branchName,cluster,
def deploy(namespace, systemName, imageTag, tier, isDeploy) { def deploy(namespace, systemName, imageTag, tier, isDeploy) {
stage('Deploy To K8s Cluster'){ stage('Deploy To K8s Cluster'){
imageTag = imageTag.replaceAll("ccr.ccs.tencentyun.com/","")
_utils().beautyEcho("Deploy To K8s Cluster image: ${imageTag} to:${namespace}", "info") _utils().beautyEcho("Deploy To K8s Cluster image: ${imageTag} to:${namespace}", "info")
def deploy_job_info def deploy_job_info
......
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