如何在Windows上卸载Jenkins? [英] How to uninstall Jenkins on Windows?

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

问题描述

对于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:

  1. 通过从命令行执行 jenkins.exe卸载来卸载Jenkins Windows服务(如此处建议的那样:
  1. 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)
  2. 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屋!

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