Disabling or changing the incremental analysis mechanisms
In very particular cases, you may need to disable or change the incremental analysis mechanisms.
Disabling the Skip unchanged files mechanism
You can disable the Skip unchanged files mechanism used by the Kotlin and Java analyzers by setting the sonar.koltin.skipUnchanged
or the sonar.java.skipUnchanged
to false
.
Disabling the analysis cache mechanism
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
Using the local filesystem for analysis caching
With the C/C++/Objective-C analyzer, you can configure the filesystem cache instead of using the analysis cache on the server.
Was this page helpful?