Commit c834d915 authored by daidekun's avatar daidekun

fixbugs

parent 9bc3e936
......@@ -48,13 +48,7 @@ def prepare_python(contextDir) {
}
def checkout(branchName, gitRepo) {
print "gitRepo"
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) {
......@@ -75,9 +69,13 @@ def checkoutLuaUI(branchName, gitRepo) {
project = t1[1]
dir (project) {
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 build_java(namespace, systemName, contextDir) {
......
......@@ -43,7 +43,6 @@ def call(body) {
_stage.checkoutLuaUI(branchName, gitRepo)
break
default:
print gitRepo
_stage.checkout(branchName, gitRepo)
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