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

查看:36
本文介绍了如何在 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 uninstall 卸载 Jenkins Windows 服务(如此处建议:https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+as+a+Windows+service)
  2. 只需删除目录:C:Program Files (x86)Jenkins
  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 服务,如 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天全站免登陆