Jacoco.xml is generating,but sonar coverage is 0%

I am a beginner, I was working on a CI pipeline, there I am getting sonar coverage issue. Source code path is not picking by sonar and not getting coverage. But it’s picking the test path files correctly and reporting in dashboard.

Hi,

Welcome to the community!

Pictures of logs aren’t typically useful.

Please copy/paste the entire text of your analysis log (i.e. what you showed above).

 
Thx,
Ann

Hey Ann,

Issue is fixed now…
Sonar.exclusion was the root cause… this excluded all necessary files/classes required for src code, that’s why it’s not analysing the source code. Now i can see the stats in sonar UI. now reworking with developer for correct exclusions…

1 Like

A post was split to a new topic: JaCoCo coverage not generated

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.