Commit 7a1ae31d authored by kalvin's avatar kalvin

code reformat

parent 463f5412
...@@ -64,10 +64,8 @@ def call(body) { ...@@ -64,10 +64,8 @@ def call(body) {
} }
} }
_utils.beautyEcho("build over", "info") _utils.beautyEcho("build over", "info")
} }
...@@ -79,17 +77,12 @@ def call(body) { ...@@ -79,17 +77,12 @@ def call(body) {
def k8sSystemName = originSystemName.replaceAll("_","-") def k8sSystemName = originSystemName.replaceAll("_","-")
def safeBranchName = originBranchName.replaceAll(regex,"_") def safeBranchName = originBranchName.replaceAll(regex,"_")
imageTagInfos = _stage.imageTag(harborGroup,k8sSystemName,safeBranchName,branchHashCode) imageTagInfos = _stage.imageTag(harborGroup,k8sSystemName,safeBranchName,branchHashCode)
for (imageTagInfo in imageTagInfos){
_stage.dockerbuild_and_push(imageTagInfo,buildNumber,_systemName,originBranchName ,cluster,timeStemp,contextDir)
for (imageTagInfo in imageTagInfos){
_stage.dockerbuild_and_push(imageTagInfo,buildNumber,_systemName,originBranchName ,cluster,timeStemp,contextDir)
} }
_stage.deploy(namespace, _systemName, imageTagInfos[0]["imageTag"], config.tier, isDeploy) _stage.deploy(namespace, _systemName, imageTagInfos[0]["imageTag"], config.tier, isDeploy)
} }
/* 4 */ /* 4 */
......
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