Hi Sonar team & community,
[Sonar enterprise version: 8.6] [Repository code sql on GitHub]
We use sonar enterprise to analyse our Tsql repository that sises 14MB.
We have already launched the sonar analysis on our master which builds on teamcity. and then we added the step sonar analyse to our build in teamcity. Currently, a Pull Request on this repository is triggering a new code sonar analysis.
The analyse takes 3minutes, the project background tasks takes 2minutes when doing the check of quality gate. Our developers have to wait more then 5 minutes to finish the build.
We looked up how plugins Sonar proceed to analyse code source, we have seen that all the repository is analysed every scan even it is the new code.
Question: why all the repository is analysed when some files only were modified? This makes us wasting 6minutes to analyse just some modifications.
Betclic Team CI/CD