sonar-auth-gitlab-plugin icon indicating copy to clipboard operation
sonar-auth-gitlab-plugin copied to clipboard

how to configure the plugin via sonar.properties

Open joelgrimberg opened this issue 7 years ago • 5 comments

in the gitlab section of the admin-console I see a key for every property I can set. I am struggeling for a while now because I thought I could set these property's in the sonar.properties file using their key. Somehow the settings are not picked up after restart of the sonarqube server, so somehow I must be doing very wrong.

core question now: is it possible to set up the gitlab settings your plugin by using the sonar.properties file of by ussing it on startup-time (with the -Dsonarsetting... parameters)

joelgrimberg avatar Jul 19 '18 05:07 joelgrimberg

Hi, Sorry I don't know. It is not normal that your server does not keep the parameters at the start.

gabrie-allaigre avatar Jul 25 '18 11:07 gabrie-allaigre

so using the plugin variabeles via the startup-parameters should work, as far as you know it?

joelgrimberg avatar Jul 26 '18 04:07 joelgrimberg

May be

gabrie-allaigre avatar Jul 26 '18 11:07 gabrie-allaigre

What is propreties is not save ?

gabrie-allaigre avatar Jul 27 '18 08:07 gabrie-allaigre

@joelgrimberg Only properties listed on sonar.properties can be set in that file, otherwise, it has to be set through UI/variables.

Time flies, try to help someone who is still struggling with this issue.

hfudev avatar May 18 '20 03:05 hfudev