I have integreted sonar with my gitlab pull request. I can see the pull request in sonar when i made one but I dont see the pull request decoration on Gitlab. Can I have help with it please ?
Yes It’s bond well cause i can see the scan and the result of the scan on sonar for the pull request but nothings is send back to gitlab to comment and add decoration. I have found this warning , can you confirm if it’s true ?:
I suggest you check your organization binding (org-level Administration > Organization settings > Organization binding), and make sure a valid Gitlab token that can view your project (the project you want to bind) is used.
PR Decoration will work once your repo is appropriately bound.
So the bouding worked but since it has been done now i got this error in my pipelines:
16:49:18.921 ERROR Project not found. Please check the ‘sonar.projectKey’ and ‘sonar.organization’ properties, the ‘SONAR_TOKEN’ environment variable, or contact the project administrator to check the permissions of the user the token belongs to
It would be very weird for those two actions to be linked! Can you share a wider range of logs from your pipeline, particularly what is happening before this error?