Optimized checkout

Must-share information (formatted with Markdown):

  • which versions are you using: Sonarqube 10.7
  • how is SonarQube deployed: Virtual machine
  • We have a running setup which functionally works as expected. But before performing the analysis we have to do a full clone of our repository to have history. As this takes ~40 minutes I would like to optimize this. Is it possible to perform a shallower checkout to avoid a full clone which isn’t required on branches since we have merge request decoration enabled anyway. I know this is not Sonarqube’s fault but maybe someone here has a suggestion for an improvement.
  • For other optimizations we have enabled server side caching and merge request decoration which have both made a major impact on performance so now we are looking for the next improvement.

Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!