Does the Gradle plugin keep in mind environment variables? We are using the new withSonarQubeEnv() step in Jenkins, and would like to know whether we have to specify all settings that are exported as environment variables back to properties in our Gradle file.
E.g. if the scanner would be able to read the SONAR_AUTH_TOKEN environment variable then there would be no need for us to mention this in the Gradle file (that was the trigger for this question: we used to work with SONAR_LOGIN, but the new Jenkins plugin only sets SONAR_AUTH_TOKEN (for a 5.3+ server), so we would have to update all our Gradle files anyway).
(I guess I should maybe not be looking in the Gradle plugin, but in the sonar-scanner-api? I found some properties defined there, but not sonar.login for example?)
Regards,
Jan Fabry