Is it possible to run sonar-runner via Jenkins on files in multiple git repositories as a single project?

Is it possible to run sonar-runner via Jenkins on files in multiple git repositories as a single project?

Client is having many git repositories with files stores directly in repos without any src or other folder.
They want to configure one Jenkins job and run sonar-runner via Jenkins on all repos in one go instead of creating multiple jobs for each repo.

Count of repositories might be in hundreds.

Thanks,
Farooq

Hi Farooq,

To make this work, you have to get everything checked out, then craft a sonar-project.properties that sets sonar.sources to a path that includes all your checked out files (maybe sonar.sources=.…?) and use SonarQube Scanner to analyze.

 
Ann