Skip to content

Commit cfef52f

Browse files
committed
Revert OpenJDK for Jenkinsfile
Unable to download the openjdk installations that are setup
1 parent 39d2b32 commit cfef52f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Jenkinsfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ try {
7171
checkout scm
7272
sh "git clean -dfx"
7373
try {
74-
withEnv(["JAVA_HOME=${ tool 'openjdk9' }"]) {
74+
withEnv(["JAVA_HOME=${ tool 'jdk9' }"]) {
7575
sh "./gradlew clean test --refresh-dependencies --no-daemon --stacktrace"
7676
}
7777
} catch(Exception e) {
@@ -87,7 +87,7 @@ try {
8787
checkout scm
8888
sh "git clean -dfx"
8989
try {
90-
withEnv(["JAVA_HOME=${ tool 'openjdk10' }"]) {
90+
withEnv(["JAVA_HOME=${ tool 'jdk10' }"]) {
9191
sh "./gradlew clean test --refresh-dependencies --no-daemon --stacktrace"
9292
}
9393
} catch(Exception e) {
@@ -103,7 +103,7 @@ try {
103103
checkout scm
104104
sh "git clean -dfx"
105105
try {
106-
withEnv(["JAVA_HOME=${ tool 'openjdk11' }"]) {
106+
withEnv(["JAVA_HOME=${ tool 'jdk11' }"]) {
107107
sh "./gradlew clean test --refresh-dependencies --no-daemon --stacktrace"
108108
}
109109
} catch(Exception e) {

0 commit comments

Comments
 (0)