Commit dabd04f0 authored by daidekun's avatar daidekun

systemName to lowerSystemName = systemName.toLowerCase()

parent e47c643c
...@@ -139,7 +139,6 @@ def dockerbuild_and_push(buildNumber, branchName, harborGroup, systemName, conte ...@@ -139,7 +139,6 @@ def dockerbuild_and_push(buildNumber, branchName, harborGroup, systemName, conte
regex = "[`,./;\\[\\]&<>?:\"()|-]+" regex = "[`,./;\\[\\]&<>?:\"()|-]+"
safeBranchName = branchName.replaceAll(regex,"_") safeBranchName = branchName.replaceAll(regex,"_")
safeSystemName = "project" safeSystemName = "project"
lowerSystemName = systemName.toLowerCase()
imageTag = "192.168.4.36/${harborGroup}/${lowerSystemName}:${safeBranchName}-${buildNumber}" imageTag = "192.168.4.36/${harborGroup}/${lowerSystemName}:${safeBranchName}-${buildNumber}"
......
...@@ -13,7 +13,7 @@ def call(body) { ...@@ -13,7 +13,7 @@ def call(body) {
t = gitRepo.split("/") t = gitRepo.split("/")
def gitGroup = t[0] def gitGroup = t[0]
def systemName = t[1] def systemName = t[1].toLowerCase()
def harborGroup = "library" def harborGroup = "library"
def workspace = "/home/quant_group/jenkins_home/workspace/${env.JOB_NAME}" def workspace = "/home/quant_group/jenkins_home/workspace/${env.JOB_NAME}"
......
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