How to uninstall Jenkins?

前端 未结 8 1308
谎友^
谎友^ 2020-12-22 14:45

This is probably very simple, but I can\'t find any hint anywhere. So how one is supposed to do that, in general and specifically on Mac?

8条回答
  •  情歌与酒
    2020-12-22 15:38

    Run the following commands to completely uninstall Jenkins from MacOS Sierra. You don't need to change anything, just run these commands.

    sudo launchctl unload /Library/LaunchDaemons/org.jenkins-ci.plist
    sudo rm /Library/LaunchDaemons/org.jenkins-ci.plist
    sudo rm -rf /Applications/Jenkins '/Library/Application Support/Jenkins' /Library/Documentation/Jenkins
    sudo rm -rf /Users/Shared/Jenkins
    sudo rm -rf /var/log/jenkins
    sudo rm -f /etc/newsyslog.d/jenkins.conf
    sudo dscl . -delete /Users/jenkins
    sudo dscl . -delete /Groups/jenkins
    pkgutil --pkgs
    grep 'org\.jenkins-ci\.'
    xargs -n 1 sudo pkgutil --forget
    

    Salam

    Shah

提交回复
热议问题