-
Bug
-
Resolution: Not A Defect
-
Major
-
None
-
Jenkins 1.606, maven 3, linux server
We have multi-module maven projects, where we want the surefire reports, javadoc etc to be aggregated up to the top level project.
This works fine for everything except the surefire report. When we run a Maven build for the site then the surefire report at the top level claims that zero tests were run, even though all the unit tests were actually run.
If I instead configure the build as a Freeform project instead of a Maven project, and have a single build step of running top-level maven target, then everything works fine.
One of the key differences I found in the console output was that when running it as a maven build, I never see any lines similar to this:
[INFO] <<< maven-surefire-report-plugin:2.17:report (report:report) @ projectName <<<