Commit c834d915 authored by daidekun's avatar daidekun

fixbugs

parent 9bc3e936
...@@ -48,13 +48,7 @@ def prepare_python(contextDir) { ...@@ -48,13 +48,7 @@ def prepare_python(contextDir) {
} }
def checkout(branchName, gitRepo) { def checkout(branchName, gitRepo) {
print "gitRepo" git branch: branchName, credentialsId: 'e1ccb1ac-1282-4fb4-b766-530ca1a2a2db', url: "git@git.quantgroup.cn:${gitRepo}.git"
echo gitRepo
if (gitRepo == "QG/di-ting-ui") {
git branch: branchName, credentialsId: 'e1ccb1ac-1282-4fb4-b766-530ca1a2a2db', url: "git@gitabc.xyqb.com:${gitRepo}.git"
}else {
git branch: branchName, credentialsId: 'e1ccb1ac-1282-4fb4-b766-530ca1a2a2db', url: "git@git.quantgroup.cn:${gitRepo}.git"
}
} }
def checkoutLuaUI(branchName, gitRepo) { def checkoutLuaUI(branchName, gitRepo) {
...@@ -75,7 +69,11 @@ def checkoutLuaUI(branchName, gitRepo) { ...@@ -75,7 +69,11 @@ def checkoutLuaUI(branchName, gitRepo) {
project = t1[1] project = t1[1]
dir (project) { dir (project) {
git branch: branchName, credentialsId: 'e1ccb1ac-1282-4fb4-b766-530ca1a2a2db', url: "git@git.quantgroup.cn:${gitRepo}.git" if (gitRepo == "QG/di-ting-ui") {
git branch: branchName, credentialsId: 'e1ccb1ac-1282-4fb4-b766-530ca1a2a2db', url: "git@gitabc.xyqb.com:${gitRepo}.git"
}else {
git branch: branchName, credentialsId: 'e1ccb1ac-1282-4fb4-b766-530ca1a2a2db', url: "git@git.quantgroup.cn:${gitRepo}.git"
}
} }
} }
} }
......
...@@ -43,7 +43,6 @@ def call(body) { ...@@ -43,7 +43,6 @@ def call(body) {
_stage.checkoutLuaUI(branchName, gitRepo) _stage.checkoutLuaUI(branchName, gitRepo)
break break
default: default:
print gitRepo
_stage.checkout(branchName, gitRepo) _stage.checkout(branchName, gitRepo)
break break
} }
......
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