如何手动重启Jenkins? [英] 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.
如何手动重启?
推荐答案
要手动重新启动Jenkins,可以使用以下命令之一(通过在浏览器中输入其URL):
To restart Jenkins manually, you can use either of the following commands (by entering their URL in a browser):
(jenkins_url)/safeRestart
-允许所有正在运行的作业完成.重新启动完成后,新作业将保留在队列中以运行.
(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
-强制重新启动而不等待构建完成.
(jenkins_url)/restart
- Forces a restart without waiting for builds to complete.
这篇关于如何手动重启Jenkins?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!