Managing incremental analysis mechanisms
In very specific cases, you may have to disable or change the incremental analysis mechanism.
Was this helpful?
In very specific cases, you may have to disable or change the incremental analysis mechanism.
You can disable the Skip unchanged files mechanisms used by the Kotlin and Java analyzers by setting the sonar.kotlin.skipUnchanged or the sonar.java.skipUnchanged to false.
In particular cases, you may need to disable the analysis cache mechanism.
The analysis cache mechanism is enabled by default. If you disable it, the analyzer will analyze all files from scratch.
To disable the analysis cache mechanism, add the following parameter to your analysis (See Analysis parameters for information about the setup of analysis parameters for the scanner.):
sonar.analysisCache.enabled=false
The parameter sonar.analysisCache.enabled is not compatible with SonarScanner for .NET.
With the C/C++/Objective-C analyzer, you can configure the filesystem cache instead of using the analysis cache on the server. See also Customizing the analysis and Analysis cache mechanism.
Was this helpful?
Was this helpful?

