* prior to running the merge job, purge the openjdk-7-jre and openjdk-7-jdk packages
* sonar is failing due to not using the correct java version
* Specifying java 8 is insufficient
* Removing java 7 is the only working solution we've found.
Change-Id: I17d5d71c54f6fd3ea42afd8d96bb9281ba5cfce3
Signed-off-by: C.J. Collier <cjcollier@linuxfoundation.org>
- if [ "${{OS}}" == "ubuntu1404" ];then sudo update-java-alternatives -s /usr/lib/jvm/java-1.8.0-openjdk-amd64||echo 'ignoring failure';fi
+ if [ "${{OS}}" == "ubuntu1404" ];then sudo apt-get purge -qqy openjdk-7-jdk openjdk-7-jre openjdk-7-jre-headless ;fi
maven:
maven-name: '{mvn33}'
maven:
maven-name: '{mvn33}'