DevOps SonarQube Analysis Extremely Slow After Moving to NET 6

Hello,

We are currently using SonarQube Version 9.3.0.51899 with Azure DevOps Services and recently migrated our .NET Framework 4.7.2 solution to NET 6. Since the migration, our builds are running horrendously slow, apparently due to SonarQube. Is there something that needs to be added to the SonarQube config or the dotnet build to remediate the slowness?

Thanks,

John

Hi John,

Could you take a look at this guide & see if it helps? (Feel free to come back & say it doesn’t!)

 
Ann

Thank you for the documentation reference G Ann! Using the guide I was able to fix the slowness on the build, however now we have a hang-up on our dotnet test step.

It appears SonarQube is trying to analyze all of the projects all over again during testing, I’ve set sonar.dotnet.excludeTestProjects=true in the Prepare Analysis step but that doesn’t seem to fix the problem. Any ideas?

Thank you,

John

Hi John,

First, yay! I’m glad the guide helped you get your performance in line.

Regarding the tests, I don’t mean to be a bureaucratic pain, but would you open a new thread for that? One-topic-per-thread saves a lot of confusion!

 
Ann