Do not revert to java 7 82/3282/1
authorC.J. Collier <cjcollier@linuxfoundation.org>
Wed, 5 Oct 2016 17:58:44 +0000 (10:58 -0700)
committerC.J. Collier <cjcollier@linuxfoundation.org>
Wed, 5 Oct 2016 17:58:44 +0000 (10:58 -0700)
* honeycomb-merge-master-ubuntu1404 needs java 8 for sonar
* the revert to java 7 happens prior to the sonar run
* we now throw the guest away after each use, so there is no need to
  revert to java 7

Change-Id: I551a5a6d3da5eb9d38cc1f624ef547815a41931c
Signed-off-by: C.J. Collier <cjcollier@linuxfoundation.org>
jjb/honeycomb/honeycomb.yaml

index 30a4b0f..0638e03 100644 (file)
         global-settings: 'global-settings'
         global-settings-type: cfp
 
-    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:
         - email-notification:
             email-prefix: '[honeycomb]'
         global-settings: 'global-settings'
         global-settings-type: cfp
 
-    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:
         - email-notification:
             email-prefix: '[honeycomb]'
             !include-raw-escape:
                 - ../scripts/maven_push_functions.sh
                 - include-raw-honeycomb-pkg-push.sh
-        - shell: |
-            if [ "${{OS}}" == "ubuntu1404" ];then sudo update-java-alternatives -s /usr/lib/jvm/java-1.7.0-openjdk-amd64||echo 'ignoring failure';fi
-
     reporters:
         - findbugs