Bitbucketcloud integration with Sonarcloud : multiple projects in single repo

Template for a good new topic, formatted with Markdown:

  • ALM used -Bitbucket Cloud
  • CI system used - Azure DevOps
  • Scanner command used when applicable (private details masked)
  • Languages of the repository
  • Only if the SonarCloud project is public, the URL
    • And if you need help with pull request decoration, then the URL to the PR too
  • Error observed (wrap logs/code around with triple quotes ``` for proper formatting)
  • Steps to reproduce
  • Potential workaround

We have a repo on bitbucket cloud which contains multiple projects. Trying to integrate Sonarcloud STA analysis with this repo with each pull request. It is not working for all the projects together. We have to select a single project for the connection. Is there any way to have the integration for all the projects in the repo and get the analysis for all the files when the pull request is raised.

Hey there.

I believe you are looking for monorepo support, which will allow for a Bitbucket repo to be bound to multiple projects.

Yes, with Monorepo settings it works as expected.
Thanks for your help.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.