Restart SonarQube Server remotely

hrskrs picture hrskrs · Oct 1, 2015 · Viewed 14.4k times · Source

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.

Answer

Alexandre - SonarSource picture Alexandre - SonarSource · Oct 1, 2015

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