I just started using SonarQube 9.3 version of CE. Found it is very useful for Static code analysis.
I want to know if there is an option to set a limit on concurrent scans performed by SonarQube.
I tried to find the information on Sonar Community. One of the post says there is no limitation on no. of scans.
But I want to know if we can a set limit or can we restrict no. of scans to a specific number.
It’s because, i want to make sure the server doesn’t hangout.
My concern is
I have two or more different projects to be scanned
Let’s say i have around 200 projects and i want to run the scan separately for each scan in parallel.
Can we do it?
If yes, because of more no. Of projects there might be burden on the server which might lead to hang/ stuck the server.
So i want to set a limit on the no. Of projects to be scanned in parallel.
Let’s say limit should 50-100 projects out of 200 projects.
The bulk of analysis happens far away from the SonarQube server – analyzers are simply downloaded from the server and then executed locally/in your build pipeline. There is no limit to concurrency here, nor does there really need to be.
Once the analysis report is submitted to the SonarQube server, they are processed one by one (in Community Edition), so no need to worry about overloading.