Support Server authentication token
Max-Jesch opened this issue · comments
By now sbt-sonar does not seem to support "Server authentication token" that are provided by "SonarQube servers" from jenkins.
Did I miss something?
Hi, do you mean the user token or something else?
Yes that is what I mean. Our Jenkins Server injects it as an enviroment variable which is picked up by all the Java projects using the "hudson.plugins.sonar". Because of the fact that this does not work with sbt-sonar and that I can not find any documentation about it I concluded that it is not supported. Is that correct?
It is supported through the sonar.login
property as per the official docs. There's nothing specific to sbt-sonar here as it picks up any properties passed through sbt.
See an example here.