Hi, I can’t manage to make the pull-request decoration work! We’re using Github.com
The analysis works and I can see the results in SonarQube, but this message is show: “Pull request decoration did not happen. Please install Github application on the repository’s organization or user.”
Followed all the tutorials and tried all the steps more than once! Also the GitHub authentication and sign-up works like a charm.
Versions:
- SonarQube: 8.3.1.34397
- License: Developer Edition
- SonarScanner: 4.3.0.2102-linux
There’s nothing in the logs (even with TRACE level), the only mention to pull-requests and some error indication is:
2020.06.11 15:27:03 DEBUG ce[AXKj_dRT3vwedgzpgy8V][c.s.C.B.B.A.A.D] GET response did not have expected HTTP code (was 404): Not Found
2020.06.11 15:27:03 DEBUG ce[AXKj_dRT3vwedgzpgy8V][c.s.C.B.B.A.A.D] GET response did not have expected HTTP code (was 404): Not Found
2020.06.11 15:27:03 INFO ce[AXKj_dRT3vwedgzpgy8V][o.s.c.t.p.a.p.PostProjectAnalysisTasksExecutor] Pull Request decoration | status=SUCCESS | time=159ms
This is the sonar-scanner command (run in CircleCI):
tmp/sonar-scanner-4.3.0.2102-linux/bin/sonar-scanner \
-Dsonar.login=$SONARQUBE_KEY \
-Dsonar.pullrequest.branch=$CIRCLE_BRANCH \
-Dsonar.pullrequest.key=${CIRCLE_PULL_REQUEST##*/}
And my