What’s the difference between the and files mentioned here: SonarScanner | SonarQube Docs

Does each file accept the same set of configuration options? If not, which configuration options are specific to each file?

I note that neither Test Coverage & Execution | SonarQube Docs nor Analysis Parameters | SonarQube Docs mention any *.properties file. To which file to these configuration options belong?


Welcome to the community!

You can put the same values in both, but you probably shouldn’t. The file is server-level & should only hold values that are correct for all projects, such as the value.

On the other hand, is a project-level file and should hold project-specific values such as the location of each project’s sonar.sources, and sonar.projectKey &etc.