Skip to content

Commit d743b04

Browse files
committed
Remove JDK 8 Build
Issue gh-626
1 parent 18d0c7b commit d743b04

File tree

1 file changed

+2
-22
lines changed

1 file changed

+2
-22
lines changed

Jenkinsfile

+2-22
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ try {
1919
sh "git clean -dfx"
2020
try {
2121
withCredentials([ARTIFACTORY_CREDENTIALS]) {
22-
withEnv(["JAVA_HOME=${ tool 'jdk8' }"]) {
22+
withEnv(["JAVA_HOME=${ tool 'jdk11' }"]) {
2323
sh "./gradlew test -PartifactoryUsername=$ARTIFACTORY_USERNAME -PartifactoryPassword=$ARTIFACTORY_PASSWORD --refresh-dependencies --no-daemon --stacktrace"
2424
}
2525
}
@@ -31,27 +31,7 @@ try {
3131
}
3232
}
3333
}
34-
},
35-
check_jdk_11: {
36-
stage('Check JDK 11') {
37-
node {
38-
checkout scm
39-
sh "git clean -dfx"
40-
try {
41-
withCredentials([ARTIFACTORY_CREDENTIALS]) {
42-
withEnv(["JAVA_HOME=${ tool 'jdk11' }"]) {
43-
sh "./gradlew test -PartifactoryUsername=$ARTIFACTORY_USERNAME -PartifactoryPassword=$ARTIFACTORY_PASSWORD --refresh-dependencies --no-daemon --stacktrace"
44-
}
45-
}
46-
} catch(Exception e) {
47-
currentBuild.result = 'FAILED: check'
48-
throw e
49-
} finally {
50-
junit '**/build/test-results/*/*.xml'
51-
}
52-
}
53-
}
54-
}
34+
}
5535

5636
if(currentBuild.result == 'SUCCESS') {
5737
parallel artifacts: {

0 commit comments

Comments
 (0)