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

Provide a way to stop Sonar Server programmatically

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.4.1
    • Fix Version/s: 3.6
    • Component/s: None
    • Labels:
      None

      Description

      In order to help writing integration tests we need to have a way to ask Sonar Server to stop properly.
      When property -Dsonar.shutdownToken=<token> is defined before starting Sonar Server then Jetty ShutdownHandler should be added and configured. Then the URL http://<sonar server>/shutdown?token=<token> could be called from the same host to ask Sonar Server to stop.
      Note that by default the property should not be defined.

        Attachments

          Activity

            People

            Assignee:
            henryju OLD - Julien HENRY
            Reporter:
            henryju OLD - Julien HENRY
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: