[VOL-2634] Updates to jenkins jobs/templates to provide ability to run PODs that have power switch for physical reboots
Change-Id: Iae0522b899a20357dfe61ec433e763d3f1ffb185
diff --git a/jjb/cord-test/nightly-build-pipeline.yaml b/jjb/cord-test/nightly-build-pipeline.yaml
index ff05de9..b8cff5d 100644
--- a/jjb/cord-test/nightly-build-pipeline.yaml
+++ b/jjb/cord-test/nightly-build-pipeline.yaml
@@ -979,6 +979,10 @@
default: '{manifest-branch}'
description: 'Repo manifest branch for code checkout (so we can display changes in Jenkins)'
+ - bool:
+ name: powerSwitch
+ default: '{power-switch}'
+ description: "Indicate whether POD has power switch to reboot ONUs/OLT remotely"
concurrent: true
diff --git a/jjb/cord-test/voltha.yaml b/jjb/cord-test/voltha.yaml
index eef8627..5c00fdb 100644
--- a/jjb/cord-test/voltha.yaml
+++ b/jjb/cord-test/voltha.yaml
@@ -10,6 +10,7 @@
with-kind: false
onos-version: '2.2'
+ power-switch: False
jobs:
# flex OCP pod with olt/onu - manual test job, voltha master build job
@@ -73,6 +74,7 @@
release: 'master'
branch: 'master'
released: false
+ power-switch: True
test-repo: 'voltha-system-tests'
profile: 'Default'
@@ -97,6 +99,7 @@
release: 'master'
branch: 'master'
released: false
+ power-switch: True
test-repo: 'voltha-system-tests'
profile: '1T4GEM-bal31'