Prep work for creating jenkins v2.10 and 2.11 job views.
jjb/pipeline/voltha/master/*
----------------------------
o Update copyright notice to be current.
jjb/pipeline/voltha/voltha-2.10/bbsim-tests.groovy
--------------------------------------------------
o Debugging: augment script to self-identify
o Debugging: determine if a shell command is available.
jjb/verify/bbsim.yaml
---------------------
o Add a version definition and bbsim test job for 2.10 & 2.11
vars/installVoltctl.groovy
--------------------------
o Convert if-then-else block into a dictionary to simplify
version detection logic.
o Minor cleanups for the shellcheck tool
o Quote environment vars
o Fold long shell pipelines across multiple lines for readability.
o [DEBUG] Added enter/leave printlns() to help identify a problem
source from context in the log. Null appeared in a kubectl setup
for etcd.
Change-Id: I3fa824dffc1f37614c569faa1e1829a7466202b3
diff --git a/jjb/verify/bbsim.yaml b/jjb/verify/bbsim.yaml
index c7b4ae0..2c6cfd1 100644
--- a/jjb/verify/bbsim.yaml
+++ b/jjb/verify/bbsim.yaml
@@ -16,6 +16,14 @@
name-extension: '-voltha-2.9'
override-branch: 'voltha-2.9'
branch-regexp: '^voltha-2.9$'
+ - 'verify-bbsim-jobs-voltha-2.10':
+ name-extension: '-voltha-2.10'
+ override-branch: 'voltha-2.10'
+ branch-regexp: '^voltha-2.10$'
+ - 'verify-bbsim-jobs-voltha-2.11':
+ name-extension: '-voltha-2.11'
+ override-branch: 'voltha-2.11'
+ branch-regexp: '^voltha-2.11$'
- 'verify-bbsim-jobs-master':
branch-regexp: '^master$'
- 'publish-bbsim-jobs':
@@ -78,6 +86,50 @@
logging: true
- job-group:
+ name: 'verify-bbsim-jobs-voltha-2.10'
+ jobs:
+ - 'voltha-patch-test':
+ pipeline-script: 'voltha/voltha-2.10/bbsim-tests.groovy'
+ testTargets: |
+ - target: sanity-bbsim-att
+ workflow: att
+ flags: ""
+ teardown: true
+ logging: true
+ - target: sanity-bbsim-dt
+ workflow: dt
+ flags: ""
+ teardown: true
+ logging: true
+ - target: sanity-bbsim-tt
+ workflow: tt
+ flags: ""
+ teardown: true
+ logging: true
+
+- job-group:
+ name: 'verify-bbsim-jobs-voltha-2.11'
+ jobs:
+ - 'voltha-patch-test':
+ pipeline-script: 'voltha/voltha-2.11/bbsim-tests.groovy'
+ testTargets: |
+ - target: sanity-bbsim-att
+ workflow: att
+ flags: ""
+ teardown: true
+ logging: true
+ - target: sanity-bbsim-dt
+ workflow: dt
+ flags: ""
+ teardown: true
+ logging: true
+ - target: sanity-bbsim-tt
+ workflow: tt
+ flags: ""
+ teardown: true
+ logging: true
+
+- job-group:
name: 'verify-bbsim-jobs-master'
jobs:
- 'voltha-patch-test':