詹金斯拒绝重启 [英] Jenkins refuses to restart

查看:131
本文介绍了詹金斯拒绝重启的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

此答案之后,我尝试使用以下方法重新启动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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆