How to restart Jenkins manually?

Kerry Jones picture Kerry Jones · Nov 9, 2011 · Viewed 730.8k times · Source

I've just started working with Jenkins and have run into a problem. After installing several plugins it said it needs to be restarted and went into a "shutting down" mode, but never restarts.

How do I do a manual restart?

Answer

Željko Filipin picture Željko Filipin · Nov 10, 2011

To restart Jenkins manually, you can use either of the following commands (by entering their URL in a browser):

(jenkins_url)/safeRestart - Allows all running jobs to complete. New jobs will remain in the queue to run after the restart is complete.

(jenkins_url)/restart - Forces a restart without waiting for builds to complete.