Configure SonarQube with code

Hi guys, I’m deploying SonarQube to our infrastructure and I’m wondering if it’s possible to export all the configuration we did (quality gates, profiles, etc) to files that we can by applied in boot time to sonar - as we do with plugins defining them in code.

This is usually a requirement for companies applying configuration as code for all their software.

Thanks!

Hi,

Welcome to the community!

The things you’ve mentioned are stored in the database so they’ll be applied at boot time automatically when SonarQube connects to the DB. There are some configurations in $SONARQUBE-HOME/conf/sonar.properties, so… I guess that’s already in the file format you’re looking for(?).

 
Not sure this helps…?
Ann