Hello community, good afternoon. After running the Sonar scan, the console displays: ANALYSIS SUCCESSFUL, you can find the results at: http://localhost:9000/dashboard?id=ALO_COBRANZA_WEB_20250306_V44. However, when I go to the project within the dashboard, it says: “The last analysis failed because it would have caused your server-wide lines of code total to exceed your 100,000 limit. Go to License page.” The scanned project has 38,491 lines of code. How can I resolve this?
There are two parts to analysis. The initial part runs CI-side. At the end, it bundles an analysis report and send it to the server for processing. This first, CI-side part is the part that’s succeeding.
Once your report gets to the server, it’s queued, and then processed in turn. This is the part that’s failing because the analysis would push you over your license-LOC limit.
I suggest you take a look at your project to see if it or its configuration recently changed to include 3rd-party libraries or other large chunks of code in analysis.
Alternately, you can ping your sales contact about extending your license.
As a side note, I notice that you’re running analysis on the SonarQube host. This is not recommended. You should off-load your CI/CD to a separate server.