如何安全关闭我的Jenkins? [英] How to shutdown my Jenkins safely?

查看:99
本文介绍了如何安全关闭我的Jenkins?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在自己的容器中运行Jenkins.我使用命令"nohup java -jar jenkins.war --httpsPort = 8443".

I run Jenkins in its own container. I use the command "nohup java -jar jenkins.war --httpsPort=8443".

如何安全关闭它?现在,我使用kill命令杀死该进程.

How do I shut it down safely? Right now, I use the kill command to kill the process.

推荐答案

是的,如果您使用内置的Winstone容器运行Jenkins,则kill应该可以. 此Jenkins Wiki页面提供了一些有关如何设置的提示詹金斯的控制脚本.

Yes, kill should be fine if you're running Jenkins with the built-in Winstone container. This Jenkins Wiki page has some tips on how to set up control scripts for Jenkins.

这篇关于如何安全关闭我的Jenkins?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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