Commit ed1f823f authored by daidekun's avatar daidekun

checkout

parent 23d5da25
...@@ -48,8 +48,11 @@ def prepare_python(contextDir) { ...@@ -48,8 +48,11 @@ def prepare_python(contextDir) {
sh "cp -rf /home/quant_group/qg-dockerfiles/templates/python ${contextDir}" sh "cp -rf /home/quant_group/qg-dockerfiles/templates/python ${contextDir}"
} }
def checkout(branchName, gitRepo) { def checkout(branchNames, gitRepo) {
git branch: branchName, credentialsId: 'e1ccb1ac-1282-4fb4-b766-530ca1a2a2db', url: "git@git.quantgroup.cn:${gitRepo}.git" arrBranchName = branchNames.spit(",")
for (branchName in arrBranchName) {
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