Must-share information (formatted with Markdown):
- which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
Sonarqube 8.5 developer edition
- what are you trying to achieve
Merge request decorator
- what have you tried so far to achieve this
Set the gitlab api url
Set read_api access token
Configure the projects to use the decorator
I have everything up and running, my gitlab pipelines are correctly scanning and communicating with my sonarqube server but I have 2 issues with the MR decorators
The doc mentions read_api access but this provides insufficient permissions to add the comments in the MR overview and fails. I can get it working by providing full api access but is there a way to configure the read_api access to allow comments in gitlab?
My server is not running on localhost, let’s assume it is running at https://example.com/sonarqube. The decorator comment being added to MRs is generating the links as http://localhost:9000/sonarqube instead of https://example.com/sonarqube. Where can I fix this?
Example link in comment: