Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
345 views
in Technique[技术] by (71.8m points)

jenkins - 如何手动重启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.

(在安装了几个插件之后,它表示需要重新启动并进入“关闭”模式,但是从不重新启动。)

How do I do a manual restart?

(如何手动重启?)

  ask by Kerry Jones translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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强制重新启动而不等待构建完成。)


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...