SonarQube (self-hosted ; installed via official Docker image) version 8.2 (build 32929), Developer Edition
SonarQube Scanner 4.2.0.1873
Gitlab (self-hosted) version 12.8.1 (d18b43a5f5a), Community Edition
I have configured the Gitlab tab of the ALM Integrations settings pane with my custom Gitlab instance API URL and token and it shows that Merge Request Decoration is enabled.
The analysis is triggered properly and the Merge Request appear on SonarQube Server on the dropdown list used to switch the branch/MR but, when I select my Merge Request, SonarQube Server warns that Last analysis had 1 warning.
When I click on 1 warning, it shows a modal dialog saying that Pull request decoration did not happen. Unable to find a Pull Request decorator for provider ‘GitlabServer’.
Are you setting sonar.pullrequest.provider in your analysis configuration anywhere? I ask because if you are – you should remove it, and make sure you’ve assigned the correct provider in your Project Settings > General Settings > Pull Request Decoration
I have dumped the database to be able to conduct a full text search on GitlabServer and found out old properties in the properties table related to a plugin that I had tested before buying Developer edition and that were conflicting.
I just deleted the conflicting properties of the old plugin from database manually and it now works perfectly