Skip to content
Randall Wood edited this page Mar 28, 2015 · 1 revision

Uninstall the Jenkins Slave using the following procedure (cut and paste it into a terminal window):

sudo launchctl stop org.jenkins-ci.slave.jnlp
sudo rm -f /Library/Launch*/org.jenkins-ci.slave.jnlp.plist
sudo rm -f /Users/*/Library/LaunchAgents/org.jenkins-ci.slave.jnlp.plist
sudo rm -rf /Library/StartupItems/JenkinsSlave
sudo rm -rf /var/lib/jenkins

It is possible there will likely be errors from attempting to remove items that do not exist. They can be safely ignored.

Logs are at /var/log/jenkins. You may want to remove them.

If you want to remove the Jenkins user, do the following:

sudo dscl /Local/Default delete Users/jenkins
sudo dscl /Local/Default delete Group/jenkins
Clone this wiki locally