Commit cee6ff06 authored by 智勇's avatar 智勇

up

parent 70b9d28f
...@@ -560,9 +560,9 @@ def deploy(namespace, systemName, imageTag, tier, isDeploy) { ...@@ -560,9 +560,9 @@ def deploy(namespace, systemName, imageTag, tier, isDeploy) {
if (isDeploy=="true") { if (isDeploy=="true") {
def projectAttr = project_attr(systemName) def projectAttr = project_attr(systemName)
def host = projectAttr["host"] def host = projectAttr["host"]
echo "host is : ${host} "
def hostArray = host.split(".") def hostArray = host.split(".")
def hostFirst = hostArray[0] def hostFirst = hostArray[0]
echo "host is : ${host} "
echo "hostFirst is : ${hostFirst} " echo "hostFirst is : ${hostFirst} "
imageTag = imageTag.replaceAll("ccr.ccs.tencentyun.com/","") imageTag = imageTag.replaceAll("ccr.ccs.tencentyun.com/","")
_utils().beautyEcho("[新集群][deployV2]将镜像更新到到Namespace:" + namespace, "info") _utils().beautyEcho("[新集群][deployV2]将镜像更新到到Namespace:" + namespace, "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