Simplifying build & test

This commit is contained in:
Joakim Erdfelt 2016-07-29 12:48:21 -07:00
parent 28f557b0e1
commit db76da0fee
1 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -29,8 +29,8 @@ node('linux') {
timeout(60) { timeout(60) {
withEnv(mvnEnv) { withEnv(mvnEnv) {
// Run package then test phase / skip main compilation / ignore failures // Run test phase / ignore test failures
sh "mvn -B install test -Dmaven.main.skip=true -Dmaven.test.failure.ignore=true" sh "mvn -B test -Dmaven.test.failure.ignore=true"
// Report failures in the jenkins UI // Report failures in the jenkins UI
step([$class: 'JUnitResultArchiver', testResults: '**/target/surefire-reports/TEST-*.xml']) step([$class: 'JUnitResultArchiver', testResults: '**/target/surefire-reports/TEST-*.xml'])
} }