Use "board_technology" key to fetch TP folder path variable
Change-Id: I9764bfbe0404ff52c4ea14e99128dde65abee376
diff --git a/jjb/pipeline/voltha/master/physical-build.groovy b/jjb/pipeline/voltha/master/physical-build.groovy
index a8bed62..259e524 100644
--- a/jjb/pipeline/voltha/master/physical-build.groovy
+++ b/jjb/pipeline/voltha/master/physical-build.groovy
@@ -149,9 +149,8 @@
if ( params.configurePod && params.profile != "Default" ) {
for(int i=0; i < deployment_config.olts.size(); i++) {
def tech_prof_directory = "XGS-PON"
- // If no debian package is specified we default to GPON for the ADTRAN OLT.
- if (!deployment_config.olts[i].containsKey("oltDebVersion") || deployment_config.olts[i].oltDebVersion.contains("asgvolt64")){
- tech_prof_directory = "GPON"
+ if (!deployment_config.olts[i].containsKey("board_technology")){
+ tech_prof_directory = deployment_config.olts[i]["board_technology"]
}
timeout(1) {
sh returnStatus: true, script: """