Mvn sonar:send-analysis

Maven : how can I re-send analysis results if sonarQube crashes (OutOfMemory Êrror)

The maven analysis was OK ; its the analysis inside SonarCube that crashes :

[INFO] Analysis report generated in 73186ms, dir size=221 MB
[INFO] Analysis reports compressed in 2092825ms, zip size=72 MB
[INFO] Analysis report uploaded in 4174ms
[INFO] ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/dashboard

Q: How can I send the analysis report zip file to Sonar Instance without re-analysing everything en re-creating same report zip file after > 1H ??

Is there an other goal than mvn sonar:sonar that skips report creation ?

BR

Hello @Stephane_Kay,

Is there an other goal than mvn sonar:sonar that skips report creation ?

There is not.

The real issue here is

sonarQube crashes (OutOfMemory Êrror)

Do you have any idea why? Obviously it should not happen and you should focus your effort on this.
Did you monitor the memory consumption and/or adjust memory settings accordingly?

Best

Antoine

1 Like