Commit ac2131a9 authored by daidekun's avatar daidekun

fixbugs

parent 5ccbf9d9
...@@ -49,7 +49,18 @@ def prepare_python(contextDir) { ...@@ -49,7 +49,18 @@ def prepare_python(contextDir) {
} }
def checkout(branchName, gitRepo) { def checkout(branchName, gitRepo) {
git branch: branchName, credentialsId: 'e1ccb1ac-1282-4fb4-b766-530ca1a2a2db', url: "git@git.quantgroup.cn:${gitRepo}.git" if(gitRepo.contains("--")){
t1 = gitRepo.split("/")
groups = t1[0].split("--")
projects = t1[1].split("--")
t1.size().times {
git branch: branchName, credentialsId: 'e1ccb1ac-1282-4fb4-b766-530ca1a2a2db', url: "git@git.quantgroup.cn:${groups[it]}/${projects[it]}.git"
}
}
else{
git branch: branchName, credentialsId: 'e1ccb1ac-1282-4fb4-b766-530ca1a2a2db', url: "git@git.quantgroup.cn:${gitRepo}.git"
}
} }
def build_java(namespace, systemName, contextDir) { def build_java(namespace, systemName, contextDir) {
......
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