Template for a good new topic, formatted with Markdown:
- ALM used - GitHub
- CI system used - Codeship CI
- Scanner command used when applicable (private details masked)
sonar-scanner \ -Dsonar.login=$SONAR_LOGIN \ -Dsonar.pullrequest.key=$CI_PR_NUMBER \ -Dsonar.pullrequest.branch=$CI_BRANCH \ -Dsonar.python.coverage.reportPaths=coverage.xml
- Languages of the repository - Python
- Only if the SonarCloud project is public, the URL - private repos
- Steps to reproduce
- Potential workaround
Let me explain my organization problem, I’m hoping to get some clue.
First, we start using SonarCloud as a tool to check the quality of the code, with the automatic analysis. We have the app sonarcloud installed in github with access to all of our repos. That was working ok, we were getting back a summary of the analysis and we could even block the PR if that analysis was red. Nice!
Then we move from the automatic to the manual in the CI in order to get the analysis and the code coverage. Analisys are great however in the new repos we create/add to sonarcloud we are not able to get back this summary or even to create activate the automatic analysis… neither we have the option to block the PR is the analysis is red.
I checked the configuration in sonarcloud and in github from repos that do get the summary back and those that no and they are the same… and right now i’m clueless…
The integration with github in the admin page - general settings - pull request of the propject is activated, however i can only choose betwen azure and bitbucket… I also try to set
sonar.pullrequest.provider=github in sonar-project.properties without luck…