fix pipeline for config file selection in the initial setup
Change-Id: I2399c299fc757764ca551f43a9a587529521e7f9
diff --git a/Jenkinsfile-voltha-bal31-build b/Jenkinsfile-voltha-bal31-build
index 581735a..0137a61 100644
--- a/Jenkinsfile-voltha-bal31-build
+++ b/Jenkinsfile-voltha-bal31-build
@@ -25,7 +25,13 @@
sh returnStdout: true, script: "git clone -b master ${cordRepoUrl}/${configBaseDir}"
sh returnStdout: true, script: "git clone -b master ${cordRepoUrl}/voltha-system-tests"
sh returnStdout: true, script: "git clone https://github.com/ciena/kind-voltha.git"
- deployment_config = readYaml file: "${configBaseDir}/${configDeploymentDir}/${configFileName}.yaml"
+ if ( params.workFlow == "DT" ) {
+ deployment_config = readYaml file: "${configBaseDir}/${configDeploymentDir}/${configFileName}-DT.yaml"
+ }
+ else
+ {
+ deployment_config = readYaml file: "${configBaseDir}/${configDeploymentDir}/${configFileName}.yaml"
+ }
}
stage('Clean up') {
timeout(10) {