To restart Jenkins manually, you can use either of the following commands (by entering their URL in a browser):
(要手动重新启动Jenkins,可以使用以下任一命令(通过在浏览器中输入其URL):)
(jenkins_url)/safeRestart
- Allows all running jobs to complete.
((jenkins_url)/safeRestart
允许所有正在运行的作业完成。)
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.
((jenkins_url)/restart
强制重新启动而不等待构建完成。)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…