Commit cb77f142 authored by daidekun's avatar daidekun

String.toLowerCase()

parent ef906402
......@@ -137,7 +137,7 @@ def build_python(namespace, systemName, contextDir) {
def dockerbuild_and_push(buildNumber, branchName, harborGroup, systemName, contextDir) {
regex = "[`,./;\\[\\]&<>?:\"()|-]+"
safeBranchName = branchName.replaceAll(regex,"_")
safeBranchName = branchName.replaceAll(regex,"_").toLowerCase()
safeSystemName = "project"
imageTag = "192.168.4.36/${harborGroup}/${systemName}:${safeBranchName}-${buildNumber}"
......
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