Commit 411c2443 authored by wentao.suo's avatar wentao.suo

fix

parent 2de2d3e1
...@@ -119,7 +119,12 @@ def checkout(buildType,systemName, branchName) { ...@@ -119,7 +119,12 @@ def checkout(buildType,systemName, branchName) {
def checkout_java(systemName, branchName) { def checkout_java(systemName, branchName) {
def projectAttr = project_attr(systemName) def projectAttr = project_attr(systemName)
def gitPath =projectAttr["gitPath"] def gitPath =projectAttr["gitPath"]
def configPath = projectAttr["configPath"]
git branch: branchName, credentialsId: 'e1ccb1ac-1282-4fb4-b766-530ca1a2a2db', url: gitPath git branch: branchName, credentialsId: 'e1ccb1ac-1282-4fb4-b766-530ca1a2a2db', url: gitPath
if(systemName =="credit_league"){
sh "cp -rf /home/quant_group/config_repository/java/${systemName}.properties ${configPath}/application.properties"
}
} }
def checkout_python(systemName, branchName) { def checkout_python(systemName, branchName) {
......
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