How to uninstall Jenkins from Mac OS?

How to uninstall Jenkins from Mac OS?

If you have installed Jenkins using homebrew and if you want to uninstall it completely, this is how you do it:

brew uninstall jenkins --force
brew cleanup

If you have installed it as a package from Jenkins.io follow this post.

How to uninstall Jenkins from MAC

I installed Jenkins as pkgfrom jenkins.io. There was some issue and I wanted to delete it. I couldn’t find Jenkins folder or Uninstall Command ($/Library/Application\ Support/Jenkins/Uninstall.command) in Library, so this is what I did,

  1. Go to /Applications–> Delete the Jenkins folder
  2. Delete /Users/Shared/Jenkins
  3. Delete Jenkins user(there will be a standarduser with no nameusername for the first time when jenkins is installed) from “Users & Groups”

After this I re-installed Jenkins and it seem to work.