Skip to content

Commit

Permalink
Report unstable build for failing tests
Browse files Browse the repository at this point in the history
instead of halting build
  • Loading branch information
mickaelistria committed Oct 31, 2023
1 parent 9011de6 commit 1b74e01
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,13 @@ pipeline {
stage('Build') {
steps {
wrap([$class: 'Xvnc', useXauthority: true]) {
sh 'mvn clean verify -f pom.xml -B -Peclipse-sign,uts,its,ci -Dtycho.surefire.timeout=7200 -Dmaven.repo.local=$WORKSPACE/.m2/repository'
sh """
mvn -B clean verify -f pom.xml \
-Peclipse-sign,uts,its,ci \
-Dtycho.surefire.timeout=720 \
-Dmaven.repo.local=$WORKSPACE/.m2/repository \
-Dmaven.test.error.ignore=true -Dmaven.test.failure.ignore=true
"""
}
}
post {
Expand Down

0 comments on commit 1b74e01

Please sign in to comment.