Adding support for branches when downloading the pod config
Change-Id: I32f27f334032d498f73c2fe1adb5a587d41fbeb7
diff --git a/Jenkinsfile b/Jenkinsfile
index f725f33..89efc74 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -58,7 +58,7 @@
sh 'vagrant ssh -c "cd /cord/build; ./gradlew buildImages" corddev'
stage 'Downloading CORD POD configuration'
- sh 'vagrant ssh -c "cd /cord/build/config; git clone ${podConfigRepoUrl}" corddev'
+ sh 'vagrant ssh -c "cd /cord/build/config; git clone ${podConfigRepoUrl} -b ${branch}" corddev'
stage 'Publish to headnode'
sh 'vagrant ssh -c "cd /cord/build; ./gradlew -PtargetReg=${headNodeIP}:5000 -PdeployConfig=config/pod-configs/${podConfigFileName} publish" corddev'