Commit 33164a27 authored by daidekun's avatar daidekun

fixbugs

parent b32f598e
......@@ -50,7 +50,7 @@ def prepare_python(contextDir) {
sh "cp -rf /home/quant_group/config_repository/python/${systemName}.ini ${contextDir}/config.ini"
}
def checkout(branchName, gitRepo) {
def checkout(branchName, systemName) {
git_path = project_attr(systemName)["gitPath"]
git branch: branchName, credentialsId: 'e1ccb1ac-1282-4fb4-b766-530ca1a2a2db', url: git_path
}
......@@ -75,7 +75,7 @@ def checkout_lua_ui(branchName, gitRepo) {
dir (project) {
echo "git remote site is:"
git_path = project_attr(project)["gitPath"]
git branch: branchName, credentialsId: 'e1ccb1ac-1282-4fb4-b766-530ca1a2a2db', url: "git@gitabc.xyqb.com:${gitRepo}.git"
git branch: branchName, credentialsId: 'e1ccb1ac-1282-4fb4-b766-530ca1a2a2db', url: git_path
}
}
}
......
......@@ -43,7 +43,7 @@ def call(body) {
_stage.checkout_lua_ui(branchName, gitRepo)
break
default:
_stage.checkout(branchName, gitRepo)
_stage.checkout(branchName, systemName)
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