Sonarqube Github Pull Request decorator

Must-share information (formatted with Markdown):

  • SonarQube Enterprise v9.9
  • how is SonarQube deployed: Docker
  • what are you trying to achieve
    Our goal is how we can have Sonarqube add the Code Analysis metrics to a GitHub Pull Request.
  • what have you tried so far to achieve this
    We integrated our self-hosted Sonarqube to our GitHub enterprise account using GitHub Apps. We validated that the connection from GitHub to Sonarqube works. We already have the Sonarqube project created. What we did is we edit the DevOps Platform Integration, set the configuration to point to our github app integration and set the repository name.

We were able to see the Sonarqube PR decorators but we have “No Coverage information”. What code coverage information does Sonarqube inject in the PR? New Code Coverage or the Project Code Coverage?

Appreciate for any guidance on how to show the Coverage Information in a PR.


Hey there.

What langauge(s) are you analyzing?