adds -fae (fail at end) flag to maven build
@@ -17,10 +17,11 @@ node("master") {
docker.image("${mvnJdk8Image}").inside("${env.VOLUMES}") {
try {
//skip integration test for now
- sh "${mvnHome}/bin/mvn --batch-mode -V clean install -Dsurefire.useFile=false -DskipITs"
+ sh "${mvnHome}/bin/mvn -V -fae clean install -Dsurefire.useFile=false -DskipITs"
+ //clean distribution to enable recreation of databases
sh "${mvnHome}/bin/mvn -f distribution/pom.xml clean"
sh "${mvnHome}/bin/mvn -f distribution-tp2/pom.xml clean"
- sh "${mvnHome}/bin/mvn --batch-mode -V deploy -DskipTests -DskipITs"
+ sh "${mvnHome}/bin/mvn deploy -DskipTests -DskipITs"
} finally {
junit allowEmptyResults: true, testResults: '**/target/surefire-reports/TEST-*.xml'
@@ -31,7 +32,6 @@ node("master") {
stage('Run QA/Integration tests on Java8') {
docker.image("${mvnJdk8Image}").inside("${env.VOLUMES}") {
try {
- //skip integration test for now
sh "${mvnHome}/bin/mvn -f distribution/pom.xml clean install -Pqa"
} finally {
junit allowEmptyResults: true, testResults: '**/target/failsafe-reports/TEST-*.xml'
