No coverage on Python project analyzed with SonarCloud-Bitbucket pipelines

I integrated SonarCloud with Bitbucket pipelines but coverage is not showing up

I am using sonarsource/sonarcloud-scan:1.3.0 and adding the reportPath with EXTRA_ARGS where coverage.xml is created

Hey there.

What do the logs say? You’ll find logs like the following in the scanner logs:

09:57:19.193 INFO: Sensor Cobertura Sensor for Python coverage [python]
09:57:19.193 DEBUG: Using pattern ‘coverage-reports/coverage-.xml’ to find reports

that was the problem

I was using sonar.python.coverage.reportPath instead of sonar.python.coverage.reportPaths

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