如何在Windows上卸载Jenkins? [英] How to uninstall Jenkins on Windows?
问题描述
对于Mac,有人问了类似的问题:如何卸载Jenkins?
A similar question was asked for Macs: How to uninstall Jenkins?
如何在Windows上执行相同的操作(特别是如果我使用Jenkins Windows Installer安装Jenkins)?
How do I do the same on Windows (specifically if I used the Jenkins Windows Installer to install Jenkins)?
我建议的卸载计划如下,但是我不确定这是否正确:
My proposed uninstall plan is as follows, but I'm not sure if it is the correct way:
- Uninstall the Jenkins Windows Service by executing jenkins.exe uninstall from the command line (as suggested here: https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+as+a+Windows+service)
- Simply delete the directory: C:\Program Files (x86)\Jenkins
推荐答案
要卸载jenkins及其从属服务
To uninstall jenkins and its slave services
1.只需转到jenkins的安装目录.
1.Simply go to the directory where jenkins is installed.
2.然后在该目录中打开一个cmd. (最好在管理员模式下使用cmd)
2.Then open up a cmd in that directory. (cmd in administrator mode is preferable)
3.jenkins.exe卸载(在诸如jenkins-slave.exe之类的从属詹金斯服务的情况下,此名称可能有所不同,该应用程序位于该文件夹中)
3.jenkins.exe uninstall (this name could be different in case of slave jenkins services like jenkins-slave.exe or something similar, the application is present in the folder)
对于Jenkins,服务除了访问其工作目录外,还执行相同的操作.
For Jenkins as services do the same thing except go to its working directory.
最后,您可以安全地删除目录.
In the end you can safely delete the directories.
这篇关于如何在Windows上卸载Jenkins?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!