[VOL-2912] update build pipeline to use kind-voltha gerrit repo
Change-Id: Ifbf1af85285ec943cbfaff3c2287b409ee7389bd
diff --git a/Jenkinsfile-voltha-build b/Jenkinsfile-voltha-build
index 5fcd0c0..5198c70 100644
--- a/Jenkinsfile-voltha-build
+++ b/Jenkinsfile-voltha-build
@@ -26,7 +26,7 @@
if (params.branch == "voltha-2.3") {
sh returnStdout: true, script: "git clone -b 3.0.3 https://github.com/ciena/kind-voltha.git"
} else {
- sh returnStdout: true, script: "git clone https://github.com/ciena/kind-voltha.git"
+ sh returnStdout: true, script: "git clone -b ${branch} ${cordRepoUrl}/kind-voltha"
}
if ( params.workFlow == "DT" ) {
deployment_config = readYaml file: "${configBaseDir}/${configDeploymentDir}/${configFileName}-DT.yaml"