Change sonar Scanner configuration file location

every time I run sonar-scanner, it will use default configuration file that locate in:

Scanner configuration file: /opt/sonar-scanner-3.3.0.1492-linux/conf/sonar-scanner.properties

how can I change this address when I’m run sonar-scanner?

Thanks,

Hi,

Welcome to the community!

I think the only way you’re going to accomplish this is to move the scanner installation to another directory.

 
Ann