VOL-3126 Upgrade Tucson pod to BAL 3.4
Change-Id: Iaf033e06ac470e6d4bbff6c0bd737c3619f421fe
diff --git a/jjb/pipeline/voltha-physical-build-and-tests.groovy b/jjb/pipeline/voltha-physical-build-and-tests.groovy
index b943573..ba236dd 100644
--- a/jjb/pipeline/voltha-physical-build-and-tests.groovy
+++ b/jjb/pipeline/voltha-physical-build-and-tests.groovy
@@ -269,6 +269,11 @@
olt_sw_present = sh returnStdout: true, script: "sshpass -p ${olt.pass} ssh -l ${olt.user} ${olt.ip} 'dpkg --list | grep asfvolt16 | wc -l'"
return olt_sw_present.toInteger() == 0
}
+ if ( params.branch == 'voltha-2.3' ) {
+ oltDebVersion = oltDebVersionVoltha23
+ } else {
+ oltDebVersion = oltDebVersionMaster
+ }
sh returnStdout: false, script: "sshpass -p ${olt.pass} ssh -l ${olt.user} ${olt.ip} 'dpkg --install ${oltDebVersion}'"
waitUntil {
olt_sw_present = sh returnStdout: true, script: "sshpass -p ${olt.pass} ssh -l ${olt.user} ${olt.ip} 'dpkg --list | grep asfvolt16 | wc -l'"
diff --git a/jjb/voltha-e2e.yaml b/jjb/voltha-e2e.yaml
index 6233364..a89f908 100644
--- a/jjb/voltha-e2e.yaml
+++ b/jjb/voltha-e2e.yaml
@@ -121,7 +121,8 @@
name: 'verify_physical_voltha_patchset_auto'
build-node: 'tucson-pod'
config-pod: 'tucson-pod'
- oltDebVersion: 'openolt_asfvolt16-2.3.0-bc6e0853e0e8bf6bd7e4223d4a7ee0dd35ce634d.deb'
+ oltDebVersionMaster: 'openolt_asfvolt16-2.4.6-5d9ab1a36e13e55ca3687af160cfd4f582317493.deb'
+ oltDebVersionVoltha23: 'openolt_asfvolt16-2.4.3-c636279643a1cac3128395cc9fc22977e8edc46d.deb'
profile: 'Default'
# Per-patchset Pod builds on Tucson pod
@@ -129,7 +130,8 @@
name: 'verify_physical_voltha_patchset_manual'
build-node: 'tucson-pod'
config-pod: 'tucson-pod'
- oltDebVersion: 'openolt_asfvolt16-2.3.0-bc6e0853e0e8bf6bd7e4223d4a7ee0dd35ce634d.deb'
+ oltDebVersionMaster: 'openolt_asfvolt16-2.4.6-5d9ab1a36e13e55ca3687af160cfd4f582317493.deb'
+ oltDebVersionVoltha23: 'openolt_asfvolt16-2.4.3-c636279643a1cac3128395cc9fc22977e8edc46d.deb'
profile: 'Default'
# Manual build job for Tucson pod
@@ -139,7 +141,8 @@
build-node: 'tucson-pod'
config-pod: 'tucson-pod'
manualBranch: 'master'
- oltDebVersion: 'openolt_asfvolt16-2.3.0-bc6e0853e0e8bf6bd7e4223d4a7ee0dd35ce634d.deb'
+ oltDebVersionMaster: 'openolt_asfvolt16-2.4.6-5d9ab1a36e13e55ca3687af160cfd4f582317493.deb'
+ oltDebVersionVoltha23: 'openolt_asfvolt16-2.4.3-c636279643a1cac3128395cc9fc22977e8edc46d.deb'
profile: 'Default'
- job-template:
@@ -403,9 +406,14 @@
description: 'A repository containing the config files, will be checked out if specified'
- string:
+ name: oltDebVersionMaster
+ default: '{oltDebVersionMaster}'
+ description: 'OLT Software version to install for master branch builds'
+
+ - string:
name: oltDebVersion
- default: '{oltDebVersion}'
- description: 'OLT Software version to install'
+ default: '{oltDebVersionVoltha23}'
+ description: 'OLT Software version to install for voltha-2.3 branch builds'
- string:
name: profile
@@ -540,9 +548,14 @@
description: 'A repository containing the config files, will be checked out if specified'
- string:
- name: oltDebVersion
- default: '{oltDebVersion}'
- description: 'OLT Software version to install'
+ name: oltDebVersionMaster
+ default: '{oltDebVersionMaster}'
+ description: 'OLT Software version to install for master branch builds'
+
+ - string:
+ name: oltDebVersionVoltha23
+ default: '{oltDebVersionVoltha23}'
+ description: 'OLT Software version to install for voltha-2.3 branch builds'
- string:
name: profile
@@ -678,9 +691,14 @@
description: 'A repository containing the config files, will be checked out if specified'
- string:
- name: oltDebVersion
- default: '{oltDebVersion}'
- description: 'OLT Software version to install'
+ name: oltDebVersionMaster
+ default: '{oltDebVersionMaster}'
+ description: 'OLT Software version to install for master branch builds'
+
+ - string:
+ name: oltDebVersionVoltha23
+ default: '{oltDebVersionVoltha23}'
+ description: 'OLT Software version to install for voltha-2.3 branch builds'
- string:
name: profile