Adding checkout branch to clone commands for CORD-2.0

Change-Id: I6bdeefc9467cd1a4d4cd829b1f0957e563eca6df
diff --git a/Jenkinsfile b/Jenkinsfile
index cd1311d..81244a5 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -12,7 +12,7 @@
 
     stage ("Parse deployment configuartion file") {
         sh returnStdout: true, script: 'rm -rf ${configRepoBaseDir}'
-        sh returnStdout: true, script: 'git clone ${configRepoUrl}'
+        sh returnStdout: true, script: 'git clone -b ${branch} ${configRepoUrl}'
         config = readYaml file: "${configRepoBaseDir}${configRepoFile}"
     }
 }
@@ -71,7 +71,7 @@
                 }
 
                 stage ("Downloading CORD POD configuration") {
-                    sh "vagrant ssh -c \"cd /cord/build/config; git clone ${config.pod_config.repo_url}\" corddev"
+                    sh "vagrant ssh -c \"cd /cord/build/config; git clone -b ${branch} ${config.pod_config.repo_url}\" corddev"
                 }
 
                 stage ("Publish to headnode") {