mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-04-02 05:18:32 +00:00
Add JDK 10 to Jenkins
Fixes: gh-5860
This commit is contained in:
parent
bd9e3877f9
commit
adb9f4e34b
15
Jenkinsfile
vendored
15
Jenkinsfile
vendored
@ -66,6 +66,21 @@ try {
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
jdk10: {
|
||||
stage('JDK 10') {
|
||||
node {
|
||||
checkout scm
|
||||
try {
|
||||
withEnv(["JAVA_HOME=${ tool 'jdk10' }"]) {
|
||||
sh "./gradlew clean test --refresh-dependencies --no-daemon --stacktrace"
|
||||
}
|
||||
} catch(Exception e) {
|
||||
currentBuild.result = 'FAILED: jdk10'
|
||||
throw e
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if(currentBuild.result == 'SUCCESS') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user