Commit 290c7cc5 authored by daidekun's avatar daidekun

branchName

parent cd2236ff
...@@ -5,7 +5,7 @@ def debug() { ...@@ -5,7 +5,7 @@ def debug() {
print "123" print "123"
} }
def checkout(contextDir, gitRepo) { def checkout(branchName, contextDir, gitRepo) {
sh "cp -r /home/quant_group/qg-dockerfiles/templates/ui ${contextDir}" sh "cp -r /home/quant_group/qg-dockerfiles/templates/ui ${contextDir}"
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@gitabc.xyqb.com:${gitRepo}.git"
sh "git pull origin master" sh "git pull origin master"
......
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