mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-07-09 11:53:30 +00:00
Remove JDK 10/11 from Jenkinsfile
This is necessary until we can figure out how to fix the build. Issue: gh-5860
This commit is contained in:
parent
735d755bb1
commit
12c17e837b
30
Jenkinsfile
vendored
30
Jenkinsfile
vendored
@ -66,36 +66,6 @@ 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
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
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