Commit 36b8cf2b authored by daidekun's avatar daidekun

fixbugs

parent 55f06075
......@@ -46,12 +46,12 @@ def prepare_python(contextDir) {
sh "cd /home/quant_group/qg-dockerfiles/templates/python; git pull; cd -"
sh "cp -rf /home/quant_group/qg-dockerfiles/templates/python ${contextDir}"
}
/*
def checkout(branchName, gitRepo) {
git branch: branchName, credentialsId: 'e1ccb1ac-1282-4fb4-b766-530ca1a2a2db', url: "git@git.quantgroup.cn:${gitRepo}.git"
}
}*/
def checkoutLuaUI(branchName, gitRepo) {
def checkout(branchName, gitRepo) {
if(gitRepo.contains("--")){
t1 = gitRepo.split("/")
groups = t1[0].split("--")
......
......@@ -38,14 +38,7 @@ def call(body) {
stage('Checkout') {
_utils.beautyEcho(2, 'Checkout')
switch (config.buildType) {
case "lua-ui":
_stage.checkoutLuaUI(branchName, gitRepo)
break
default:
_stage.checkout(branchName, gitRepo)
break
}
_stage.checkoutLuaUI(branchName, gitRepo)
}
stage('Prepare') {
......
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