@ganncamp Docs update won’t solve our issue. We still can’t get it working with Pull Request Decoration on trial of Developer edition. We followed documentation, it seems enabled, but is not working. Also on brach list we don’t see updating branches. Only the initial branch we have get there manually running scan task.
We have created SonarQube GHE application, created key pair and installed applicaiton in Github Org/Repository. On the SonarQube ALM Integrations we see green mark as on the screenshot in first post.
Outcome we have:
Nothing happens on creating PR/branch. There is nothing in the logs on System tab. It just don’t work without erroring on any of the sides.
Expected outcome:
Working Pull Request Decoration, refreshing Branches on branches list in SonarQube, have an option to enable Status Check for SonarQube in GHE repository.
I am in the same boat. I have set up the sonarqube 8.2.0.32929, followed the github integration instructions and installed the github app.
What I see is under the Advanced tab in the github app, I see a 404 on every commit that seems to be using the webhook URL that was marked as “not important”.
Maybe this is a silly question, but you did actually set up build and analysis for your PRs, didn’t you? I ask because previously the docs didn’t explicitly say you need to run the analysis (we take it so for granted…) and some people just didn’t read that in.
You’re right; those options don’t exist in the SonarQube GUI because SonarQube doesn’t handle that step (thus I can’t point you to SQ documentation for it either). This should be set up in your CI/CD system.
We need to finish PR Decoration and finalize buying a license for SonarQube Developers Edition. We followed all documentation we’ve been able to find on your Documentations page and most of them seems to be not up-to-date.
We have set up GitHub Enterprise Application for SonarQube.
The “PR decoration” feature will just show the progress and result of an analysis with GitHub checks.
It doesn’t actually run the analysis based on triggers from GitHub (with webhooks).
You still need to have some CI pipeline running the analysis. Is that what you are missing?
@dmeneses that’s exactly what was missing. I was pretty sure SonarQube automatically populate the GH Actions or the scanner is ran automatically using Github Webhooks.
That wasn’t obvious based on the documentation that we need 3rd party tools to achieve the PR Decoration. We have it now set up.