Commit 1fc11f6b authored by daidekun's avatar daidekun

branchName

parent b38cbc3f
...@@ -19,7 +19,7 @@ def prepare_eos(contextDir) { ...@@ -19,7 +19,7 @@ def prepare_eos(contextDir) {
sh "cp -rf /home/quant_group/qg-dockerfiles/tools/python/eos ${contextDir}" sh "cp -rf /home/quant_group/qg-dockerfiles/tools/python/eos ${contextDir}"
} }
def checkout_eos() { def checkout_eos(branchName) {
git branch: branchName, credentialsId: 'e1ccb1ac-1282-4fb4-b766-530ca1a2a2db', url: "git@git.quantgroup.cn:QA/eos.git" git branch: branchName, credentialsId: 'e1ccb1ac-1282-4fb4-b766-530ca1a2a2db', url: "git@git.quantgroup.cn:QA/eos.git"
} }
......
...@@ -34,7 +34,7 @@ def call(body) { ...@@ -34,7 +34,7 @@ def call(body) {
_utils.beautyEcho("Checkout", "stage") _utils.beautyEcho("Checkout", "stage")
switch (systemName) { switch (systemName) {
case "eos": case "eos":
_stage.checkout_eos() _stage.checkout_eos(branchName)
break break
default: default:
echo "Stage_Checkout: 未知的系统: ${systemName}" echo "Stage_Checkout: 未知的系统: ${systemName}"
......
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