CSIT-56: Automated run of Honeycomb tests 18/3018/7
authorTibor Frank <tifrank@cisco.com>
Wed, 21 Sep 2016 06:36:00 +0000 (08:36 +0200)
committerAndrew Grimberg <agrimberg@linuxfoundation.org>
Wed, 19 Oct 2016 15:21:20 +0000 (15:21 +0000)
- Update 'csit-honeycomb-functional-{stream}-{os}' job to the
  latest changes.

Change-Id: I904423a4f55c11007aa7ba1a0268642a103ab699
Signed-off-by: Tibor Frank <tifrank@cisco.com>
jjb/csit/csit-vpp-honeycomb.yaml

index 81589ee..d96133e 100644 (file)
     stream:
         - master:
             branch: 'master'
-            branch-id: 'master'
+            repo-stream-part: 'master'
+        - '1609':
+            branch: 'stable/1609'
+            repo-stream-part: 'stable.1609'
     os:
         - ubuntu1404
 
             project: '{project}'
         - gerrit-parameter:
             branch: '{branch}'
+        - os-parameter:
+            os: '{os}'
 
     wrappers:
         - fdio-infra-wrappers:
             build-timeout: '{build-timeout}'
 
     triggers:
-        - build-result:
-            combine: false
-            groups:
-                - jobs:
-                    - honeycomb-merge-{stream}-{os}
-                  results:
-                    - success
+        - reverse:
+            jobs: 'honeycomb-integration-{stream}-{os}'
+            result: 'success'
+
+    prebuilders:
+        - shell: |
+            if [ "${{OS}}" == "ubuntu1404" ];then sudo update-java-alternatives -s /usr/lib/jvm/java-1.8.0-openjdk-amd64||echo 'ignoring failure';fi
 
     builders:
         - shell:
             !include-raw-escape: include-raw-csit-honeycomb-functional-virl.sh
 
+    postbuilders:
+        - shell: |
+            if [ "${{OS}}" == "ubuntu1404" ];then sudo update-java-alternatives -s /usr/lib/jvm/java-1.7.0-openjdk-amd64||echo 'ignoring failure';fi
+
     publishers:
         - archive-artifacts:
             artifacts: 'report.html, log.html, output.xml'