Sonarcloud always shows code coverage as 0% even though my azure pipelines correctly shows the value

Sonarcloud always shows code coverage as 0% even though my azure pipelines correctly shows the value on the build summary.

What could be going wrong, my quality gate is breaking unnecessary, even though i have a very good code coverage. Kindly help out.

  • ALM used : Azure DevOps

  • CI system used : Azure DevOps

  • Scanner command used :sonar.python.coveragePath=*coverage.xml

  • Languages of the repository: Python

  • Error observed : None

Hey there.

This analysis parameter does not exist, while sonar.python.coverage.reportPaths does (and supports blob patterns – such as coverage-reports/*coverage-*.xml

1 Like

Thanks a lot for that. Changing the parameter worked for me.

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