How to restart Jenkins manually?

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?


To restart Jenkins manually, you can use either of the following commands:

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


如果你安装成rpm或deb,那么service jenkins restart也会起作用。


在通过apt-get / dpkg安装的Ubuntu上:

$ sudo /etc/init.d/jenkins restart
Usage: /etc/init.d/jenkins {start|stop|status|restart|force-reload}`
链接地址: http://www.djcxy.com/p/50768.html

上一篇: 是否有可能在哈德逊/詹金斯中错开构建?

下一篇: 如何手动重新启动Jenkins?