gabrie-allaigre / sonar-auth-gitlab-plugin

Use GitLab OAuth login in SonarQube login page
https://gitlab.talanlabs.com/gabriel-allaigre/sonar-auth-gitlab-plugin
GNU Lesser General Public License v3.0
100 stars 29 forks source link

how to configure the plugin via sonar.properties #26

Open joelgrimberg opened 6 years ago

joelgrimberg commented 6 years ago

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)

gabrie-allaigre commented 6 years ago

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

joelgrimberg commented 6 years ago

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

gabrie-allaigre commented 6 years ago

May be

gabrie-allaigre commented 6 years ago

What is propreties is not save ?

hfudev commented 4 years ago

@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.