Jenkins启动、停止、重启、重载Jenkins

Jenkins地址


http://localhost:8080/jenkins

概要


采用通用的URL方式,就可以实现Jenins的停止,重启和重载。

http://[jenkins-server-address][:port]/[command] where [command] can be

exit to shutdown jenkins

restart to restart jenkins

reload to reload the configuration

启动Jenkins


java -jar jenkins.war 启动jenkins服务器

重启Jenkins


浏览器输入:

http://localhost:8080/jenkins/restart

重载Jenkins配置信息


浏览器输入:

http://localhost:8080/jenkins/reload

停止Jenkins服务器

浏览器输入:

http://localhost:8080/jenkins/exit

引用地址:https://www.cnblogs.com/dzblog/p/6962810.html

Leave a Reply

Your email address will not be published. Required fields are marked *