Github PR decoration not working

I’m using github + jenkins + soanrqube all together.

Everything is working fine, except the PR decoration, which I keep getting a warning on sonarqube:

Pull request decoration did not happen. Please install SonarQube Github application on the repository’s organization or user.

I’ve checked on github and the app is already installed on my user and also on the organisation.

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    Developer Edition - Version 7.7 (build 23042)

  • what are you trying to achieve
    Make PR decoration work on github.

  • what have you tried so far to achieve this
    I’ve tried many different PR decoration solutions here on the forum and nothing worked so far.

I’m running these parameters on Jenkins, maven goal:

-P sonar sonar:sonar -Dsonar.host.url=${SONAR_HOST_URL} -Dsonar.login=${SONAR_AUTH_TOKEN} -Dsonar.pullrequest.branch=${ghprbSourceBranch} -Dsonar.pullrequest.base=${ghprbTargetBranch} -Dsonar.pullrequest.key=${ghprbPullId} -Dsonar.verbose=true

I’ve populated the global sonarqube github provider with all the info correct, and also the project related ones inside the specific project.

Did I miss anything?

This is all I get on GitHub, no explanation (even when sonarqube check fails to pass the quality gate).

Hi Rafael,
Nothing crosses my mind as possible causes of the problem. Can you please check the SonarQube logs to see if there is any relevant message?

There are only two relevant messages, one is saying that the PR didn’t work because the app needs to be installed in the organization in GitHub(which it already is) and another one about a PKIX sun certificate error, which seems to be something related to Jenkins jvm needing a certificate of sonarqube, but the analysis works fine, could this certificate still break the PR decoration?