在Windows上启动/停止并重新启动Jenkins服务 [英] Start/Stop and Restart Jenkins service on Windows

查看:13729
本文介绍了在Windows上启动/停止并重新启动Jenkins服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已从 http:// jenkins-ci下载jenkins-1.501.zip。 org / content / thank-you-downloads-windows-installer

我已解压缩zip文件,并在Windows 7上成功安装Jenkins。 Jenkins在 http:// localhost:8080 / 下运行。我想从控制台停止Jenkins服务。我该怎么办?通过控制台/命令行启动和重新启动的方式是什么?

I have extracted zip file and installed Jenkins on Windows 7 successfully. Jenkins runs at http://localhost:8080/ well. I want to stop Jenkins service from console. How can I do that? What's the way to start and restart through console/command line?

推荐答案

打开控制台/命令行 - >转到您的Jenkins安装目录。分别执行以下命令:

Open Console/Command line --> Go to your Jenkins installation directory. Execute the following commands respectively:

停止

jenkins.exe stop

to stop:
jenkins.exe stop

开始

jenkins.exe start

重新启动

jenkins.exe restart

这篇关于在Windows上启动/停止并重新启动Jenkins服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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