1

I am trying to get jacoco report for my project using jenkins. But its giving wrong report. it includes __cobertura* methods also.

effective pom here

I am getting correct report using maven install from eclipse. But if I build using jenkins for the same class I am getting weird results. It includes __copertura generated methods. and there are huge difference in the other method coverages too. can I get the same result as I am getting in eclipse ? [click][2]

[2]: https://i.stack.imgur.com/aojJ7.png

1 Answers1

0

Found the problem

gave this maven command in jenkins

-B -U clean install cobertura:cobertura -Dcobertura.report.format=xml pmd:pmd pmd:cpd findbugs:findbugs

now removed and gave -B -U clean install alone. its working now