Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to uninstall Jenkins on mac completely

I installed Jenkins with brew on mac. But it occurs some problem, I want to re-install it. Previously, at the first time I access http://localhost:8080, the page guides you to install some plugins and need you to input the password. But when I use 'brew uninstall jenkins' command and install again, the page will not show. I don't remember the previous default admin passsword. So I can't access the jenkins now. I delete the homebrew cache as well, it not worked. Is there any solutions to uninstall Jenkins completely? I just want to start from the beginning of the installation. Thanks.

like image 966
nasuf Avatar asked May 16 '17 15:05

nasuf


People also ask

How do I uninstall Jenkins on Mac?

Go to /Applications --> Delete the Jenkins folder. Delete /Users/Shared/Jenkins. Delete Jenkins (there will be a standard user with no name username for the first time when jenkins is installed) from "Users & Groups"

How do I know if Jenkins is installed on my Mac?

Click the Terminal icon to open the app. By default, Jenkins runs on port 8080. 2. Check if the server was started properly by browsing to http://localhost:8080/.

Does Jenkins work on Mac?

Jenkins is a platform that is autonomous, and can be used on Windows, Mac or any other operating system.


1 Answers

In terminal, write and execute

$/Library/Application\ Support/Jenkins/Uninstall.command

Note If you installed it with sudo, then use this:

$sudo /Library/Application\ Support/Jenkins/Uninstall.command

Then follow the instructions.

like image 190
andreskwan Avatar answered Sep 19 '22 05:09

andreskwan