]> source.dussan.org Git - sonarqube.git/commitdiff
Fix installation of JDK 8 on Travis
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Wed, 25 Jul 2018 08:20:35 +0000 (10:20 +0200)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Wed, 25 Jul 2018 08:20:35 +0000 (10:20 +0200)
travis.sh

index 2fb5617bd430bfb1bc1e0ac4b6d74e62f1aa8180..ca0a25e5dce2da6c1bb3bd0b57a12f245f39ff0e 100755 (executable)
--- a/travis.sh
+++ b/travis.sh
@@ -10,13 +10,13 @@ set -euo pipefail
 # at each build.
 #
 function installJDK8 {
-  JDK_RELEASE=171
+  JDK_RELEASE=181
   echo "Setup JDK 1.8u$JDK_RELEASE"
   mkdir -p ~/jvm
   pushd ~/jvm > /dev/null
   if [ ! -d "jdk1.8.0_$JDK_RELEASE" ]; then
     {
-      wget --quiet --continue --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u171-b11/512cd62ec5174c3487ac17c61aaa89e8/jdk-8u171-linux-x64.tar.gz
+      wget --quiet --continue --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u181-b13/96a7b8442fe848ef90c96a2fad6ed6d1/jdk-8u181-linux-x64.tar.gz
     } || {
       echo "failed to download JDK 1.8u$JDK_RELEASE"
       exit 1