Monorepos on SonarCloud

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    Developer EditionVersion 10.1 (build 73491)
  • how is SonarQube deployed: zip, Docker, Helm
  • what are you trying to achieve
    Scan individual application in a Monorepo
  • what have you tried so far to achieve this
    Hi There,
    We currently have Sonar Developer EditionVersion 10.1 deployed which does not have Monorepos support, after some research we see that Monorepo support is available on SonarCloud.
    → Is Monorepo support available on the latest Edition of Sonar Developer? If not are there any plans to release these features?
    → Are there any alternative ways we could achieve Monorepo scan at the individual application level?


Welcome to the community!

Enterprise Edition($$) includes monorepo support, as does SonarCloud. What that brings is the ability to analyze PRs for the projects in the monorepo, without the projects stepping on each other.

But to simply analyze the individual projects, you simply need to check out the repo and run an analysis with sonar.sources constrained to the project source files.