We’re currently facing the following error in our devops pipeline:
Task failed with status FAILED, Error message: This analysis will make your organization to reach the maximum allowed lines limit (having 1276926 lines).
But to our organization there are only 3 projects linked and these are there amount of lines
That is about 844k in total, so that’s not the limit 1M that is still our paid plan.
How can this error be solved?
Welcome to the community!
You should take a close look at the log of that failed analysis:
- Is the correct
sonar.projectKey used, or did a typo or other mistake “create” a new project?
- Are the correct files - and only the correct files - analyzed?
- Is there anything else out of the ordinary?
I had incorrect coveragePaths set…
So when the unit test step ran during my CI/CD pipeline, a lots of extra folders + files were created.
It is okay now.