Format source code.

This commit is contained in:
John Blum
2018-08-20 23:57:38 -07:00
parent 1f9a4cf196
commit 2888095aa9

56
Jenkinsfile vendored
View File

@@ -12,38 +12,38 @@ currentBuild.result = SUCCESS
try {
parallel check: {
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'
}
}
}
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'
}
}
}
}
},
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'
}
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 cause) {
currentBuild.result = 'FAILED: springio'
throw cause
}
finally {
junit '**/build/spring-io*-results/*.xml'
}
}
}
}