3 questions about GitHub PR decoration

Must-share information (formatted with Markdown):

  • which versions are you using - SonarQube Developer Edition Version 7.7 (build 23042)

I want to enable GitHub PR decoration, and I just can’t figure out how. This is what I’m not understanding:

  1. Where can I find the documentation of the full flow? E.g. do I need to scan my code in the CI, or it will happen automatically because of the integration (similar to SonarCloud)?
  2. Going to /admin/settings?category=pull_request I can see that I need to choose a provider (sonar.pullrequest.provider). Can I have multiple providers (e.g. BitBucket and GitHub)?
  3. Does multiple GitHub organization is supported?

Thanks!
Omer

Hi Omer,

You can find the documentation here.

It is possible to have multiple providers. For example, you can use GitHub on some projects and BitBucket on others, similar to on SonarCloud.

You can have multiple organizations, you just need to install the GitHub app on each organization (creating and installing the GitHub App is explained in the documentation).

Hope this helps,
Mike

The docs are referring to GitHub enterprise, is the same setup is for regular GitHub? Also, which app? Can you please share the link to the app? The docs are unclear about that. I was only able to find the app for SonarCloud, which is not what I’m looking for.