Jerry91
(Jerry)
February 17, 2022, 1:01pm
1
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
Colin
(Colin)
February 17, 2022, 4:07pm
2
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
Jerry91
(Jerry)
February 18, 2022, 5:12am
3
Thanks a lot for that. Changing the parameter worked for me.
system
(system)
Closed
February 25, 2022, 5:13am
4
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.