Sonar scanning taking long time in version 10.6.0.92116

Hi,

The potential variables are:

  1. changes in the code being analyzed
  2. changes to the build agent
  3. changes to the scanner
  4. an upgrade to SonarQube

Your “No change” assertion rules out pretty much everything. Are you sure that nothing on the build agent changed? Maybe there’s more load / less memory & CPU available? Did you upgrade the scanner?

Can you produce a debug analysis log to see where the time is being spent in the analysis?

The analysis / scanner log is what’s output from the analysis command. Hopefully, the log you provide - redacted as necessary - will include that command as well.

This guide will help you find them.

 
Ann