Commit a5ab45b4 authored by daidekun's avatar daidekun

mkdir

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