-
Bug
-
Resolution: Fixed
-
Minor
-
None
When a Maven build contains multiple surefire/failsafe steps with the same target directory (which is okay if the tests don't overlap, since those plugins generate unique file names), test results are recorded multiple times:
[withMaven] junitPublisher - Archive test results for Maven artifact XXX:4.0.0-SNAPSHOT generated by maven-failsafe-plugin:integration-test (default-integration-test): test/target/failsafe-reports/*.xml Recording test results [withMaven] junitPublisher - Archive test results for Maven artifact XXX:4.0.0-SNAPSHOT generated by maven-failsafe-plugin:integration-test (gui-integration-test): test/target/failsafe-reports/*.xml Recording test results
This should be avoided, since it counts every test multiple times. (Maybe this could also be fixed in the junit plugin?)