diff options
author | Julien Lancelot <julien.lancelot@sonarsource.com> | 2018-01-17 10:51:02 +0100 |
---|---|---|
committer | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2018-01-23 09:22:19 +0100 |
commit | 9268bcd73cb7e1e9272d60b0a2e28abdddd37699 (patch) | |
tree | dfd6ce6f908ae4665f8906d9271aa8e81f8af53f | |
parent | b2ca3f63d2a6ab89aba6041f133ed6067b8f81e5 (diff) | |
download | sonarqube-9268bcd73cb7e1e9272d60b0a2e28abdddd37699.tar.gz sonarqube-9268bcd73cb7e1e9272d60b0a2e28abdddd37699.zip |
Upgrade JDK to 1.8u161 in travis.sh
-rwxr-xr-x | travis.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/travis.sh b/travis.sh index 2c003a8bf81..6d563ce3c6a 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 |