Cobertura xml report pattern in post-build actions in Jenkins build job:
**/target/site/cobertura/coverage.xml
results in Code Coverage Report of 0/2 for packages, 0/7 for files, 0/7 for classes, 0/55 for methods, 0/164 for lines and 0/70 for conditionals.
This is from the book "Jenkins: The Definitive Guide" pages 34-40.
In Invoke top-level Maven targets, Maven Version is 3.3.9 and goals are
cobetura:cobetura -Dcobertura.report.format=xml
Tried it both with and without the -D.....=xml
Has something changed between the publication/review date of the book and the current Jenkins/Cobetura which would cause the above?
/var/lib/jenkins/workspace/gameoflife-default/gameoflife-core/target/cobertura/cobertura.ser is being generated every 30 minutes.