Commit c11031fe authored by daidekun's avatar daidekun

projects[it]

parent 91da3614
......@@ -56,9 +56,9 @@ def checkout(branchName, gitRepo) {
branches = branchName.split("--")
t1.size().times {
sh "mkdir -p ${projects[it]};cd ${projects[it]}"
git "git clone git@git.quantgroup.cn:${groups[it]}/${projects[it]}.git"
sh "cd .."
dir (projects[it]) {
git branch: branches[it], credentialsId: 'e1ccb1ac-1282-4fb4-b766-530ca1a2a2db', url: "git@git.quantgroup.cn:${groups[it]}/${projects[it]}.git"
}
}
}
else{
......
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