詹金斯拒绝重启 [英] Jenkins refuses to restart
问题描述
在此答案之后,我尝试使用以下方法重新启动Jenkins实例:
Following this answer, I have tried restarting a Jenkins instance using:
(jenkins_url)/safeRestart
和
(jenkins_url)/restart
两者均失败,并显示以下消息:
Both failed with the following message:
Jenkins无法按照当前配置重新启动自己.
Jenkins cannot restart itself as currently configured.
搜索Jenkins cannot restart itself as currently configured
显示消息出现
Searching for Jenkins cannot restart itself as currently configured
shows that the message appears when the app.lifecycle.canRestart
is on, but I am not sure how to set it.
有人知道如何使Jenkins可重启吗?
Any idea how to make Jenkins restartable?
推荐答案
转到管理Jenkins"链接. 找到选项安装为Windows服务". 点击安装. 现在,(jenkins_url)/restart选项将起作用.我现在也遇到了同样的问题
Go to Manage Jenkins links. Find the option "Install as Windows service". Click on install. Now (jenkins_url)/restart option will work. I faced this same issue now
这篇关于詹金斯拒绝重启的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!