Revert OpenJDK for Jenkinsfile

Unable to download the openjdk installations that are setup
This commit is contained in:
Rob Winch 2019-08-12 14:28:57 -05:00
parent 39d2b32603
commit cfef52f50c
1 changed files with 3 additions and 3 deletions

6
Jenkinsfile vendored
View File

@ -71,7 +71,7 @@ try {
checkout scm
sh "git clean -dfx"
try {
withEnv(["JAVA_HOME=${ tool 'openjdk9' }"]) {
withEnv(["JAVA_HOME=${ tool 'jdk9' }"]) {
sh "./gradlew clean test --refresh-dependencies --no-daemon --stacktrace"
}
} catch(Exception e) {
@ -87,7 +87,7 @@ try {
checkout scm
sh "git clean -dfx"
try {
withEnv(["JAVA_HOME=${ tool 'openjdk10' }"]) {
withEnv(["JAVA_HOME=${ tool 'jdk10' }"]) {
sh "./gradlew clean test --refresh-dependencies --no-daemon --stacktrace"
}
} catch(Exception e) {
@ -103,7 +103,7 @@ try {
checkout scm
sh "git clean -dfx"
try {
withEnv(["JAVA_HOME=${ tool 'openjdk11' }"]) {
withEnv(["JAVA_HOME=${ tool 'jdk11' }"]) {
sh "./gradlew clean test --refresh-dependencies --no-daemon --stacktrace"
}
} catch(Exception e) {