Updated POM file to identify the provider for rerunning flaky tests.

This commit is contained in:
Christopher Jones 2018-02-06 08:24:48 -06:00
parent 359875d2d4
commit 159ca4eebf
2 changed files with 17 additions and 1 deletions

View file

@ -1,3 +1,2 @@
language: java
jdk: oraclejdk8
script: bundle exec ./mvnw -Dsurefire.rerunFailingTestsCount=2 test -B

17
pom.xml
View file

@ -133,6 +133,23 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.20.1</version>
<dependencies>
<dependency>
<groupId>org.apache.maven.surefire</groupId>
<artifactId>surefire-junit47</artifactId>
<version>2.20.1</version>
</dependency>
</dependencies>
<configuration>
<rerunFailingTestsCount>2</rerunFailingTestsCount>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>