Skip to content

Commit fc6b66f

Browse files
committed
Add JDK 12 to Jenkins Build
Fixes: gh-6774
1 parent a6cbc90 commit fc6b66f

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

Jenkinsfile

+15
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,21 @@ try {
100100
}
101101
}
102102
}
103+
},
104+
jdk12: {
105+
stage('JDK 12') {
106+
node {
107+
checkout scm
108+
try {
109+
withEnv(["JAVA_HOME=${ tool 'openjdk12' }"]) {
110+
sh "./gradlew clean test --refresh-dependencies --no-daemon --stacktrace"
111+
}
112+
} catch(Exception e) {
113+
currentBuild.result = 'FAILED: jdk12'
114+
throw e
115+
}
116+
}
117+
}
103118
}
104119

105120
if(currentBuild.result == 'SUCCESS') {

0 commit comments

Comments
 (0)