Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to uninstall Jenkins on Windows?

Tags:

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 Jenkins)?

My proposed uninstall plan is as follows, but I'm not sure if it is the correct way:

  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
like image 683
Niko Bellic Avatar asked Oct 31 '14 14:10

Niko Bellic


2 Answers

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.

like image 200
zalimgandhera Avatar answered Sep 27 '22 16:09

zalimgandhera


  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."
like image 21
Ron Inbar Avatar answered Sep 27 '22 17:09

Ron Inbar