SonarQube Scanner 184.108.40.2063
Java 12.0.2 Oracle Corporation (64-bit)
Mac OS X 10.15.7 x86_64
SonarQube server 8.4.1
gitlab server satisfies 13.7.4
Following this documentation: https://docs.sonarqube.org/8.4/analysis/pr-decoration/
Pull Request decoration via gitlab does not appear to be working for us. It is a self managed server.
The Admin->Configuration->ALM Integrations indicates the feature is enabled.
No errors seem to be output when the scan runs and projects are successfully analysed in our GitLab CI pipelines.
The project configuration looks correct, the configuration name is set and the project ID is empty.
I don’t see anything relevant in the sonarqube logs. I also don’t see any overt indication that any decoration is being attempted.
We have already tried:
Any other suggestions to help us get this working or at least where to look for relevant error logs?
One thing that is not clear to me is whether I need to pass these into the scanner:
Is that done automatically now or should I be specifying these? This thread implies it is automatic from 8.3 onwards but I wasn’t clear if we are inadvertently doing Branch Analysis as opposed to Pull Request Analysis: