-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Platform: All, OS: All
We're building a project with Hudson using Maven2. We're also using the Maven
Cobertura plugin to generate coverage reports. This means the tests will be
executed twice, once with instrumentation and once without.
Hudson is reporting the results from both runs although there is only a single
set of results in target/surefire-reports/*.xml. Hudson should only report a
single set of results, preferably those within target/surefire-reports.
- is duplicated by
-
JENKINS-2068 Junit test showing twice
-
- Reopened
-
-
JENKINS-2158 If Maven runs the test suite multiple times the Test Result Trend graph and Stats are increased with each run.
-
- Resolved
-
I'm having the same issue. I'm wondering if you can tweak the pom to only
execute the tests once, which should be done anyway, in order to reduce the
build time.
Currently I'm using the maven goals "install findbugs:findbugs
cobertura:cobertura" in my hudson project, but would like to reduce that to
"install" only. If this would be documented somewhere, then this bug is also
obsolete, imho.