sonarqubesonar-runnersonarqube5.1

Restart SonarQube Server remotely


I implemented SonarQube on the server, and I do most of the configurations remotly. Hence whenever a plugin is installed, a restart of SonarQube is required and every time I have to explicitly (manually) restart the SonarQube server.

Is there a way to restart SonarQube remotely?

For example, like jenkins through http://sonar_url/restart.


Solution

  • Since SonarQube 5.4, you can restart it directly from the UI (Administrators should be able to request a server restart from web console) or using the WS /api/system/restart (WS /api/system/restart should trigger a true restart of SQ).