mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-05-31 01:02:14 +00:00
Add JDK 9 Build
Issue: gh-5160
This commit is contained in:
parent
0e37c0912e
commit
6f6aadbcff
15
Jenkinsfile
vendored
15
Jenkinsfile
vendored
@ -66,6 +66,21 @@ try {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
jdk9: {
|
||||||
|
stage('JDK 9') {
|
||||||
|
node {
|
||||||
|
checkout scm
|
||||||
|
try {
|
||||||
|
withEnv(["JAVA_HOME=${ tool 'jdk9' }"]) {
|
||||||
|
sh "./gradlew clean test --no-daemon --stacktrace"
|
||||||
|
}
|
||||||
|
} catch(Exception e) {
|
||||||
|
currentBuild.result = 'FAILED: snapshots'
|
||||||
|
throw e
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(currentBuild.result == 'SUCCESS') {
|
if(currentBuild.result == 'SUCCESS') {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user