[VOL-2586] migrate jobs to onos2.2 official release

Change-Id: I0a6860d9a951715822034ba0570964e4395c137a
diff --git a/jjb/cord-test/nightly-build-pipeline.yaml b/jjb/cord-test/nightly-build-pipeline.yaml
index 2d80769..ff05de9 100644
--- a/jjb/cord-test/nightly-build-pipeline.yaml
+++ b/jjb/cord-test/nightly-build-pipeline.yaml
@@ -862,6 +862,12 @@
           default: 'you@opennetworking.org, suchitra@opennetworking.org'
           description: ''
 
+      - string:
+          name: onosVersion
+          default: '{onos-version}'
+          description: 'ONOS version that needs to be configured'
+
+
       - bool:
           name: released
           default: '{released}'
diff --git a/jjb/cord-test/voltha.yaml b/jjb/cord-test/voltha.yaml
index 2f15a5a..eef8627 100644
--- a/jjb/cord-test/voltha.yaml
+++ b/jjb/cord-test/voltha.yaml
@@ -9,6 +9,7 @@
     build-timeout: '300'
 
     with-kind: false
+    onos-version: '2.2'
 
     jobs:
       # flex OCP pod with olt/onu - manual test job, voltha master build job
@@ -105,6 +106,7 @@
           config-pod: 'flex-ocp-cord'
           release: 'release'
           branch: 'master'
+          onos-version: '1.13.9'
           test-repo: 'voltha-system-tests'
           Jenkinsfile: 'Jenkinsfile-voltha-bal31-build'
           oltDebVersion: 'openolt_asfvolt16.deb'
@@ -153,6 +155,7 @@
           config-pod: 'onf-demo-pod'
           release: 'release'
           branch: 'master'
+          onos-version: '1.13.9'
           released: true
           test-repo: 'voltha-system-tests'
           Jenkinsfile: 'Jenkinsfile-voltha-bal31-build'
@@ -266,6 +269,7 @@
           config-pod: 'dt-berlin-pod'
           release: 'release'
           branch: 'master'
+          onos-version: '1.13.9'
           test-repo: 'voltha-system-tests'
           Jenkinsfile: 'Jenkinsfile-voltha-bal31-build'
           oltDebVersion: 'openolt_asfvolt16_bal3.2.deb'