NO-JIRA - Set tests to rerun failing tests 2 times

This should help reduce failures from flaky tests and make the build
more reliable
This commit is contained in:
Christopher L. Shannon (cshannon) 2023-01-10 15:33:59 -05:00
parent 362d28cddf
commit 1b9bd133fd
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -99,7 +99,7 @@ pipeline {
echo 'Running tests' echo 'Running tests'
// all tests is very very long (10 hours on Apache Jenkins) // all tests is very very long (10 hours on Apache Jenkins)
// sh 'mvn -B -e test -pl activemq-unit-tests -Dactivemq.tests=all' // sh 'mvn -B -e test -pl activemq-unit-tests -Dactivemq.tests=all'
sh 'mvn -B -e -fae test' sh 'mvn -B -e -fae test -Dsurefire.rerunFailingTestsCount=2'
} }
post { post {
always { always {