Merge "update pod details for older release"
diff --git a/jjb/cord-test/att-workflow.yaml b/jjb/cord-test/att-workflow.yaml
index 7301f9c..07823e0 100644
--- a/jjb/cord-test/att-workflow.yaml
+++ b/jjb/cord-test/att-workflow.yaml
@@ -15,6 +15,7 @@
          config-pod: 'onlab-pod1'
          profile: 'att-workflow'
          branch: 'master'
+         helmRepoUrl: 'https://charts.opencord.org'
          Jenkinsfile: 'Jenkinsfile-attworkflow-build'
          oltDebVersion: 'openolt-master.deb'
 
@@ -32,6 +33,7 @@
          config-pod: 'onlab-pod2'
          profile: 'att-workflow'
          branch: 'master'
+         helmRepoUrl: 'https://charts.opencord.org'
          Jenkinsfile: 'Jenkinsfile-attworkflow-build'
          oltDebVersion: 'openolt-master.deb'
 
@@ -41,6 +43,7 @@
          config-pod: 'flex-ocp-cord-voltha-master'
          profile: 'att-workflow'
          branch: 'master'
+         helmRepoUrl: 'https://charts.opencord.org'
          Jenkinsfile: 'Jenkinsfile-attworkflow-build'
          oltDebVersion: 'openolt-master.deb'
          time: '6'
@@ -62,6 +65,7 @@
          config-pod: 'flex-onf-pod1'
          profile: 'att-workflow'
          branch: 'master'
+         helmRepoUrl: 'https://charts.opencord.org'
          Jenkinsfile: 'Jenkinsfile-attworkflow-build'
          oltDebVersion: 'openolt-master.deb'
          configurePod: false
diff --git a/jjb/cord-test/nightly-build-pipeline.yaml b/jjb/cord-test/nightly-build-pipeline.yaml
index debaa61..b7f0b51 100644
--- a/jjb/cord-test/nightly-build-pipeline.yaml
+++ b/jjb/cord-test/nightly-build-pipeline.yaml
@@ -72,6 +72,11 @@
          default: '{branch}'
 
       - string:
+         name: helmRepoUrl
+         default: 'https://charts.opencord.org'
+         description: 'URL where helm-charts are published'
+
+      - string:
          name: profile
          default: '{profile}'
          description: 'Profile in which this job installs'
diff --git a/jjb/defaults.yaml b/jjb/defaults.yaml
index eb0a914..f81d491 100644
--- a/jjb/defaults.yaml
+++ b/jjb/defaults.yaml
@@ -110,3 +110,5 @@
     sonar-prep-commands: ''
     sonar-java-binaries: ''
 
+    # siab helm-charts
+    siab-projects-regexp: '^(xos-core/.*|xos-profiles/seba-services/.*|xos-profiles/base-kubernetes/.*|workflows/att-workflow/.*|voltha/.*|onos/.*)$'
diff --git a/jjb/omec-ci.yaml b/jjb/omec-ci.yaml
index 6deee82..e26be3a 100644
--- a/jjb/omec-ci.yaml
+++ b/jjb/omec-ci.yaml
@@ -3,6 +3,19 @@
 # Uses github pull request builder to trigger and Jenkinsfiles from this repo
 #  https://github.com/omec-project/omec-project-ci
 
+# generic OMEC test-case jobs, shared by other projects and triggered within pipelines
+- project:
+    name: omec
+    executor_node: 'intel-102'
+
+    github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
+    github_pr_org_list:
+      - 'omec-project'
+
+    jobs:
+      - 'omec-tc1'
+      - 'omec-tc2'
+
 # for ngic-rtc
 - project:
     name: ngic-rtc
@@ -15,17 +28,10 @@
       - 'omec-project'
 
     jobs:
-      - 'omec-ngic-rtc-test'
-
-- job-group:
-    name: 'omec-ngic-rtc-test'
-    jobs:
-      - 'omec-pipeline':
+      - 'omec-combined':
+          pipeline-file: 'Jenkinsfile-omec-combined.groovy'
+      - 'omec-install':
           pipeline-file: 'Jenkinsfile-omec-install-ngic-rtc-vnf.groovy'
-      - 'omec-tc1':
-          dependency-jobs: 'omec_ngic-rtc_pipeline'
-      - 'omec-tc2':
-          dependency-jobs: 'omec_ngic-rtc_tc1'
 
 # for c3po
 - project:
@@ -39,17 +45,10 @@
       - 'omec-project'
 
     jobs:
-      - 'omec-c3po-test'
-
-- job-group:
-    name: 'omec-c3po-test'
-    jobs:
-      - 'omec-pipeline':
+      - 'omec-combined':
+          pipeline-file: 'Jenkinsfile-omec-combined.groovy'
+      - 'omec-install':
           pipeline-file: 'Jenkinsfile-omec-install-c3po-vnf.groovy'
-      - 'omec-tc1':
-          dependency-jobs: 'omec_c3po_pipeline'
-      - 'omec-tc2':
-          dependency-jobs: 'omec_c3po_tc1'
 
 # for openmme
 - project:
@@ -63,23 +62,15 @@
       - 'omec-project'
 
     jobs:
-      - 'omec-openmme-test'
-
-- job-group:
-    name: 'omec-openmme-test'
-    jobs:
-      - 'omec-pipeline':
+      - 'omec-combined':
+          pipeline-file: 'Jenkinsfile-omec-combined.groovy'
+      - 'omec-install':
           pipeline-file: 'Jenkinsfile-omec-install-openmme-vnf.groovy'
-      - 'omec-tc1':
-          dependency-jobs: 'omec_openmme_pipeline'
-      - 'omec-tc2':
-          dependency-jobs: 'omec_openmme_tc1'
 
-# build/install pipeline job
-
+# Combined pipeline
 - job-template:
-    id: 'omec-pipeline'
-    name: 'omec_{project}_pipeline'
+    id: 'omec-combined'
+    name: 'omec_{project}_combined'
     project-type: pipeline
 
     description: |
@@ -92,6 +83,10 @@
           artifact-num-to-keep: '{artifact-num-to-keep}'
       - github:
           url: 'https://github.com/omec-project/{project}'
+      - build-blocker:
+          use-build-blocker: true
+          blocking-jobs:
+            - "omec-combined"
 
     wrappers:
       - lf-infra-wrappers:
@@ -124,11 +119,11 @@
            branches:
              - 'master'
 
-# tests
 
+# install jobs, run for each project
 - job-template:
-    id: 'omec-tc1'
-    name: 'omec_{project}_tc1'
+    id: 'omec-install'
+    name: 'omec_{project}_install'
     project-type: pipeline
 
     description: |
@@ -158,10 +153,41 @@
          default: '{project}'
          description: 'Name of the project'
 
-    triggers:
-      - cord-infra-github-pr-trigger:
-          github_pr_org_list: '{obj:github_pr_org_list}'
-          github_pr_auth_id: '{github_pr_auth_id}'
+    concurrent: false
+
+    pipeline-scm:
+      script-path: '{pipeline-file}'
+      scm:
+        - git:
+           url: 'https://github.com/omec-project/omec-project-ci'
+           branches:
+             - 'master'
+
+# tests
+- job-template:
+    id: 'omec-tc1'
+    name: 'omec_tc1'
+    project-type: pipeline
+
+    description: |
+      <!-- Managed by Jenkins Job Builder -->
+      Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
+
+    properties:
+      - cord-infra-properties:
+          build-days-to-keep: '{build-days-to-keep}'
+          artifact-num-to-keep: '{artifact-num-to-keep}'
+
+    wrappers:
+      - lf-infra-wrappers:
+          build-timeout: '{build-timeout}'
+          jenkins-ssh-credential: '{jenkins-ssh-credential}'
+
+    parameters:
+      - string:
+         name: executorNode
+         default: '{executor_node}'
+         description: 'Name of the Jenkins executor node to run the job on'
 
     concurrent: false
 
@@ -175,7 +201,7 @@
 
 - job-template:
     id: 'omec-tc2'
-    name: 'omec_{project}_tc2'
+    name: 'omec_tc2'
     project-type: pipeline
 
     description: |
@@ -186,8 +212,6 @@
       - cord-infra-properties:
           build-days-to-keep: '{build-days-to-keep}'
           artifact-num-to-keep: '{artifact-num-to-keep}'
-      - github:
-          url: 'https://github.com/omec-project/{project}'
 
     wrappers:
       - lf-infra-wrappers:
@@ -200,16 +224,6 @@
          default: '{executor_node}'
          description: 'Name of the Jenkins executor node to run the job on'
 
-      - string:
-         name: project
-         default: '{project}'
-         description: 'Name of the project'
-
-    triggers:
-      - cord-infra-github-pr-trigger:
-          github_pr_org_list: '{obj:github_pr_org_list}'
-          github_pr_auth_id: '{github_pr_auth_id}'
-
     concurrent: false
 
     pipeline-scm:
diff --git a/jjb/pipeline/siab-test.groovy b/jjb/pipeline/siab-test.groovy
index cb56b00..3859454 100644
--- a/jjb/pipeline/siab-test.groovy
+++ b/jjb/pipeline/siab-test.groovy
@@ -114,6 +114,8 @@
     post {
         always {
           sh '''
+             kubectl describe pods > $WORKSPACE/kube_pods.log
+             kubectl describe pods -n voltha > $WORKSPACE/kube_voltha_pods.log
              sudo cp /var/log/containers/*.log $WORKSPACE/
              sudo chown cord:cord $WORKSPACE/*log
              '''
diff --git a/jjb/pipeline/siab.groovy b/jjb/pipeline/siab.groovy
index 72118eb..2ced48d 100644
--- a/jjb/pipeline/siab.groovy
+++ b/jjb/pipeline/siab.groovy
@@ -95,6 +95,8 @@
     post {
         always {
           sh '''
+             kubectl describe pods > $WORKSPACE/kube_pods.log
+             kubectl describe pods -n voltha > $WORKSPACE/kube_voltha_pods.log
              sudo cp /var/log/containers/*.log $WORKSPACE/
              sudo chown cord:cord $WORKSPACE/*log
              '''
diff --git a/jjb/siab.yaml b/jjb/siab.yaml
index a3a32d6..6f3fe0f 100644
--- a/jjb/siab.yaml
+++ b/jjb/siab.yaml
@@ -159,6 +159,5 @@
           project-regexp: 'helm-charts'
           branch-regexp: 'master'
           dependency-jobs: '{dependency-jobs}'
-
-          file-include-regexp: '^(?!mcord|onos-progran).*$'
+          file-include-regexp: '{siab-projects-regexp}'