Multiple repos in one project

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
  • what are you trying to achieve
  • what have you tried so far to achieve this

In Azure i have multiple repo’s in one project. So while integrating with Sonarqube, do i need to create projects for each repo’s under portfolio? or do we have any best practice?

Hi,

When you say ‘repos’ I assume you mean SCM repos. If so, the answer is yes. Otherwise you’re not going to get accurate issue attribution / assignment, and it may also interfere with new code detection.

 
HTH,
Ann

Thanks Ann, Yes they are SCM Repo’s

Hi,

Then yes, you’ll need a SonarQube analysis/project per repo. You can stitch them back together with an Application, available starting in Developer Edition($) if you like.

 
HTH,
Ann