Reputation: 4490
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
.
Upvotes: 6
Views: 21870
Reputation: 990
In my SonarQube instance (v5.6), I use the below curl command to restart SonarQube server
curl -u username:password -X POST https://SONAR_INSTANCE/api/system/restart
Upvotes: 1
Reputation: 529
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).
Upvotes: 8
Reputation: 2867
POST api/system/restart Since 4.3 Restart server. Available only on development mode (sonar.web.dev=true). Ruby on Rails extensions are not reloaded
Regards,
Michel
Upvotes: 1