在 Windows 上启动/停止和重新启动 Jenkins 服务 [英] Start/Stop and Restart Jenkins service on Windows
问题描述
我从 http://jenkins-ci 下载了jenkins-1.501.zip".org/content/thank-you-downloading-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 停止
开始:jenkins.exe 启动
重启:jenkins.exe 重启
这篇关于在 Windows 上启动/停止和重新启动 Jenkins 服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!