Update Jenkins build script file to match core Spring Session.

This commit is contained in:
John Blum
2018-08-29 22:57:04 -07:00
parent 0db2a25add
commit 50fc925cea

41
Jenkinsfile vendored
View File

@@ -14,39 +14,20 @@ try {
stage('Check') {
timeout(time: 10, unit: 'MINUTES') {
node {
checkout scm
try {
sh "./gradlew clean check --refresh-dependencies --no-daemon"
}
catch (Exception cause) {
currentBuild.result = 'FAILED: check'
throw cause
}
finally {
junit '**/build/*-results/*.xml'
}
checkout scm
try {
sh './gradlew clean check --no-daemon --refresh-dependencies'
}
catch (e) {
currentBuild.result = 'FAILED: check'
throw e
}
finally {
junit '**/build/test-results/*/*.xml'
}
}
}
}
},
springio: {
stage('Spring IO') {
timeout(time: 10, unit: 'MINUTES') {
node {
checkout scm
try {
sh "./gradlew clean springIoCheck -PplatformVersion=Cairo-BUILD-SNAPSHOT -PexcludeProjects='**/samples/**' --refresh-dependencies --no-daemon --stacktrace"
}
catch(Exception e) {
currentBuild.result = 'FAILED: springio'
throw e
}
finally {
junit '**/build/spring-io*-results/*.xml'
}
}
}
}
}
if (currentBuild.result == 'SUCCESS') {