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

Hi, I have a problem with this approache.

I have two git repos, and I need to build them to gether (their can not be build separatelly).
Those are osgi repos with multiple osgi bundles.

I am building them with tycho (pomless) which ends when executed without build to have missing src folders for analyzers - I do not know if there is some way to configure/fix this problem.

Hi @JanPesta,

Welcome to the community!

You’ve resurrected a thread that’s 3 years old. Per the FAQ, please don’t do that. Please create a new thread with all your details.

 
Ann