Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-13272

Some SonarQube server properties can't be configured through environment variables

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 8.2
    • Fix Version/s: 8.3
    • Component/s: Settings
    • Labels:
      None
    • Edition:
      Community
    • Production Notes:
      None

      Description

      SONAR-13078 added a feature that allows configuring the server through environment properties as an alternative to sonar.properties file but the mechanism doesn't work for a subset of properties:

      • sonar.log.level
      • sonar.log.rollingPolicy
      • sonar.log.maxFiles
      • sonar.web.host
      • sonar.web.context
      • sonar.web.http.minThreads
      • sonar.web.http.maxThreads
      • sonar.web.http.acceptCount
      • sonar.web.sessionTimeoutInMinutes
      • sonar.web.systemPasscode
      • sonar.web.accessLogs.enable
      • sonar.web.accessLogs.pattern
      • ldap.servers
      • ldap.url
      • ldap.bindDn
      • ldap.bindPassword
      • ldap.authentication
      • ldap.realm
      • ldap.contextFactoryClass
      • ldap.StartTLS
      • ldap.followReferrals
      • ldap.user.baseDn
      • ldap.user.request
      • ldap.user.realNameAttribute
      • ldap.user.emailAttribute
      • ldap.group.baseDn
      • ldap.group.request
      • ldap.group.idAttribute
      • sonar.notifications.delay

      For now these properties have to be either configured in sonar.properties file or if you are using docker you can pass these properties to the entrypoint (for example like this: docker run -p 9000:9000 sonarqube:8.2-community -Dsonar.web.context=/my-context).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              michal.duda Michal Duda (Inactive)
              Reporter:
              michal.duda Michal Duda (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: