Can't see MR decoration on GitLab

Hi,

So I am trying to integrate MR decoration with SonarQube but for some reason, it isn’t working. The scanning is successful and I am able to see the result on the SonarQube UI but not GitLab MR UI. I have attached the result from running the CI pipeline, an image of the background tasks, and an image that includes the .gitlab-ci.yml job that runs

SonarQube version: Developer Edition - Version 9.2.4 (build 50792)
Scanner version: 4.6.2.2472
GitLab version: GitLab Enterprise Edition 14.4.1-ee

sq_analysis.txt (93.3 KB)

Hi,

Welcome to the community!

Getting MR status into GitLab requires setup in SonarQube at both the global and project levels. This docs section includes the global setup, and this section addresses the project-level setup. Have you gone through those steps?

 
Ann

Hi Ann,

Thanks for your response. Yes, I followed those steps and I don’t see the PR decoration. I have attached some new images and hope these can be helpful.



Hi,

Thanks for the screenshots. I don’t supposed there’s anything interesting in your server logs?

 
Ann

Hi,

I don’t see any errors in ce.log. I have attached all the log files as well.

access.log (245.6 KB)
ce.log (40.6 KB)
es.log (20.1 KB)
web.log (83.1 KB)

Hi,

I’ve just realized that in all the screenshots, I don’t think I’ve seen the project level configuration…? From your project homepage: Project Settings → General Settings → DevOps Platform Integration. Is that part done as well?

 
Ann