Ignoring failure in update-java-alternatives
[ci-management.git] / jjb / vpp / include-raw-vpp-build.sh
index 61c06ba..a47fc62 100644 (file)
@@ -50,7 +50,7 @@ fi
 # vpp build system that can occur on Ubuntu 14.04 when a user may
 # have both java-7 and java-8 installed.
 if [ ${OS} == ubuntu1404 ];then
-    sudo update-java-alternatives -s /usr/lib/jvm/java-1.7.0-openjdk-amd64
+    sudo update-java-alternatives -s /usr/lib/jvm/java-1.7.0-openjdk-amd64 || echo 'ignoring failure'
 fi
 
 build-root/vagrant/build.sh