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