Commit 77bd692b authored by wentao.suo's avatar wentao.suo

fff

parent 0acc47d3
...@@ -60,14 +60,14 @@ def call(body) { ...@@ -60,14 +60,14 @@ def call(body) {
sh 'mvn clean package -P test -D maven.test.skip=true' sh 'mvn clean package -P test -D maven.test.skip=true'
/* sh "cp -rf /home/quant_group/qg-repository/java/${systemName}.properties ${contextDir_app_properties}/application.properties"*/ /* sh "cp -rf /home/quant_group/qg-repository/java/${systemName}.properties ${contextDir_app_properties}/application.properties"*/
sh "cp -rf /home/quant_group/qg-dockerfiles/templates/java/* ${contextDir}" sh "cp -rf /home/quant_group/qg-dockerfiles/templates_new/java/* ${contextDir}"
sh "cp target/*.jar ${contextDir}/app.jar" sh "cp target/*.jar ${contextDir}/app.jar"
} }
regex = "[`,./;\\[\\]&<>?:\"()|-]+" regex = "[`,./;\\[\\]&<>?:\"()|-]+"
k8sSystemName = systemName.replaceAll("_","-") k8sSystemName = systemName.replaceAll("_","-")
safeBranchName = branchName.replaceAll(regex,"_") safeBranchName = branchName.replaceAll(regex,"_")
defaultSystemName = "project" defaultSystemName = "project"
......
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