How to uninstall Jenkins on Windows?

后端 未结 3 1749

A similar question was asked for Macs: How to uninstall Jenkins?

How do I do the same on Windows (specifically if I used the Jenkins Windows Installer to install Jen

相关标签:
3条回答
  • 2021-01-01 16:27

    To uninstall jenkins and its slave services

    1.Simply go to the directory where jenkins is installed.

    2.Then open up a cmd in that directory. (cmd in administrator mode is preferable)

    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)

    For Jenkins as services do the same thing except go to its working directory.

    In the end you can safely delete the directories.

    0 讨论(0)
  • 2021-01-01 16:34
    1. Find the .msi (Windows Installer) file that you used to install Jenkins. For me, it was in a .zip file in my Downloads folder.
    2. Double-click it. (You can double-click the .msi file inside the compressed folder. There's no need to extract it first.)
    3. Since Jenkins is already installed, Windows Installer will give you options to customize it or remove it.
    4. Choose "Uninstall."
    0 讨论(0)
  • 2021-01-01 16:43

    If you want a clean reinstall, you will need to delete some more, in addition to uninstalling and deleting the Jenkins home folder. Otherwise, they will remain their forever and will show up after reinstalling. To completely remove everything for Jenkins from Windows (I am giving this information from Windows 10, 64 bit):

    1. Open Windows Control Panel and click Programs and Features

    2. Right-click Jenkins x.xxx.x (where x.xxx.x, is the Jenkins version), and select Uninstall.

    3. Follow the directions.

    4. When done, delete the following folders: (note: DO NOT remove the jenkins.jenkins or jenkinswar folders if you want to keep the projects and plugins.)

      C:\Program Files\Jenkins or C:\Program Files (x86)\Jenkins C:\Windows\System32\config\systemprofile\AppData\Local\Jenkins.jenkins C:\Windows\System32\config\systemprofile\AppData\Local\Jenkinswar

    5. Restart the computer.

    0 讨论(0)
提交回复
热议问题