Incremental analysis

Hi,

I am using SonarQube Server 10.4.1 (Community Edition).
If I didn’t set SensorContext. canSkipUnchangedFiles and sonar. analysisCache. enabled=true in sonar-project. properties, does that mean SQ analyzes all files every time?

My project is a python project which has almost 9000 files. The scan time is 20min. Please suggest how can I optimize scan time.

Thanks!

I set sonar.python. skipUnchanged=true and sonar. analysisCache. enabled=true in sonar-project. properties, and then SQ doesn`t analyze all files every time.

From the logs, it was found that for Python projects, skipUnchanged does not take effect, mainly due to the use of caching

Hi,

Hi,

Welcome to the community!

Only the latest version of SonarQube Community Build is considered active, so you’ll need to update and see if the situation is still replicable before we can help you.

Your update path is:

10.4.1 → 24.12 → 25.7

You may find these resources helpful:

If you have questions about upgrading, feel free to open a new thread for that here.

If your error persists after update, please come back to us.

 
Ann