Zero code coverage on Sonar

Hi Team,
We are using SonarQube community edition and for the maven builds sonar stage been added to Azure DevOps pipeline.

We were getting the code coverage for the maven builds in sonar.
But when we re-ran the same pipeline code coverage is showing Zero. Source code is same no changes were made but still zero code coverage.


Welcome to the community!

It seems that you’re doing something different and getting a different result. I would start by comparing the analysis logs (i.e. the commandline output from the analysis command) from the two methods and seeing what’s different.