diff options
author | Julien Lancelot <julien.lancelot@sonarsource.com> | 2018-01-17 10:51:02 +0100 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@sonarsource.com> | 2018-01-17 10:51:02 +0100 |
commit | 76b96eac5d792e9af8cb3cb0a7718f1268c919c7 (patch) | |
tree | dfa39f705c2d747b13538236c55df6c63ffb5228 /travis.sh | |
parent | ec5f54c943df55d53fa6fae8632fcaede060ae19 (diff) | |
download | sonarqube-76b96eac5d792e9af8cb3cb0a7718f1268c919c7.tar.gz sonarqube-76b96eac5d792e9af8cb3cb0a7718f1268c919c7.zip |
Upgrade JDK to 1.8u161 in travis.sh
Diffstat (limited to 'travis.sh')
-rwxr-xr-x | travis.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/travis.sh b/travis.sh index 974267e9bf7..3328d281dce 100755 --- a/travis.sh +++ b/travis.sh @@ -10,13 +10,13 @@ set -euo pipefail # at each build. # function installJdk8 { - echo "Setup JDK 1.8u151" + echo "Setup JDK 1.8u161" mkdir -p ~/jvm pushd ~/jvm > /dev/null - if [ ! -d "jdk1.8.0_151" ]; then - wget --quiet --continue --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz - tar xzf jdk-8u151-linux-x64.tar.gz - rm jdk-8u151-linux-x64.tar.gz + if [ ! -d "jdk1.8.0_161" ]; then + wget --quiet --continue --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u161-b12/2f38c3b165be4555a1fa6e98c45e0808/jdk-8u161-linux-x64.tar.gz + tar xzf jdk-8u161-linux-x64.tar.gz + rm jdk-8u161-linux-x64.tar.gz fi popd > /dev/null export JAVA_HOME=~/jvm/jdk1.8.0_151 |