Batch alternative

I’m attempting to analyse a repository historically. Currently, checking out commits and scanning in series to maintain chronological ordering is fairly slow.

I found sonarqube/generate_batch_reports.sh at master · SonarSource/sonarqube · GitHub which seems to achieve exactly what I’m looking for i.e. scan multiple commits in parallel and then upload the reports to sonarqube in chronological order.

However, it seems to use sonar.analysis.mode which is no longer supported. Is there a quicker way to analyse the history of a repo over time?

Thanks!

Hi,

Welcome to the community!

To be honest, I’m surprised by the script you found and not surprised it hasn’t been maintained. We consider what you’re describing to be a corner case. So while you can do it, we’ve put no effort into making it fast or fun.

 
:woman_shrugging:
Ann