Enumerate `SONAR_*` environment variables?

I’m trying to move any/all of my sonar-project.properties configuration into environment variables.

I note that SONAR_TOKEN and SONAR_HOST_URL figure prominently in the documentation…

…but I don’t see many others. Is there a catalog of configuration environment variables used by sonar-scanner? If so, where is it kept?

Hey there.

These are the only analysis parameters that can also be configured via environment variable – you won’t find any others (because they don’t exist!)

Okay, understood.

How, then, do you explain SONAR_LOGIN documented here:
https://docs.sonarqube.org/latest/analysis/scan/sonarscanner/#header-3

2 Likes