mirror of https://github.com/apache/activemq.git
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:
parent
362d28cddf
commit
1b9bd133fd
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue