which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
Community Edition Version 8.9.6 (build 50800)
what are you trying to achieve
How can we set the sonarqube metrics retention policy using a properties file other than setting it through the console?
Hi Colin,
As I mentioned, I want to setup a metric retention policy so that I can store it for the duration longer than the 1 month which is the setting by default I guess.
I want to have it done using some property file or something.
The idea is to have a settings configuration which then could be easily applied and not doing the settings manually through the console.
Hi Colin
I believe every Sonarqube project has a property file named sonar-project.properties
So can you tell me or share a resource/url to understand what are the settings that is possible through it as I was hoping to use this property file to increase the audit log retention period.
Retention for audit logs is a global (SonarQube-instance level) setting, so a sonar-project.properties file wouldn’t be relevant here. Such a file is relevant only for analysis parameters.