- ALM used: Bitbucket Cloud
- CI system: Bitbucket Cloud
- SC Platform: Sonar Cloud
- Scanner command used: Bitbucket pipes (Bitbucket)
- Sonar Project URL: https://sonarcloud.io/dashboard?id=jeiman-SampleRepo-ms-typescript-backend
- PR URL: Bitbucket
I have setup Monorepo projects (backend and frontend microservice folders on Bitbucket) in my Sonar Cloud organisation. I can see that the widget is working as expected on Bitbucket when I view my repo and can visibly see the statistics for my monorepo projects both frontend and backend.
However, when I raise a PR, the PR decorations does not show the Sonar Cloud widget with the PR statistics as it should be. I keep getting “Not analyzed on SonarCloud yet…” even though it has been analysed on Sonar Cloud (https://sonarcloud.io/dashboard?id=jeiman-SampleRepo-ms-typescript-backend&pullRequest=4)
I am unsure how to fix this as it should work automatically. If you require further details, please let me know, I will update my discussion.
Would this be the cause of the issue that I am facing? Previously this option was disabled, however it does state that it only works for Azure DevOps PRs for monorepos?