Sonar keeps failing. Need help.
Hi @markuy22 ,
Welcome to Sonar Community.
I’ve been taking a look at the logs of that analysis and I found there is a out of memory error while running the analyzer. It seems your project is pretty big (more that 12k files were analyzed) and the analysis got stuck in this file src/waas/scripts/workflow-unit-test-template.ts
.
Is it possible to reduce the scope of the project in order to not analyze such amount of files? or maybe skip some of the folders?
To do that, you can take a look to this documentation: Automatic analysis | SonarQube Cloud Documentation
Another option could be use CI-based analysis instead of automatic analysis: GitHub | SonarQube Cloud Documentation
I hope this helps.
Cheers,
Javier