We have project with following layout
- parent
- app
- core
- instrumentation
There is cobertura plugin in core module. I’m able to generate reports from command line no problem at all (XML and HTML) I’m even able to see them in workspace on Jenkins. However I’m not able to link these reports with Jenkins Cobertura plugin.
The default as per Jenkins documentation is
**/target/site/cobertura/coverage.xml
This doesn’t work due to reports generated in sub-module. I tried following
core/target/site/cobertura/coverage.xml
/core/target/site/cobertura/coverage.xml
**/core/target/site/cobertura/coverage.xml
OK, the problem is that I used cobertura plugin as
Instead it should be as
After this I point Jenkins Cobertura plugin to core/target/site/cobertura/coverage.xml