MAC电脑卸载Jenkins

xiaoxiao2021-03-01  9

终端输入下面命令

'/Library/Application Support/Jenkins/Uninstall.command'

卸载过程

Last login: Mon May 28 10:58:52 on ttys005 zhouyudeMacBook-Pro:~ zhouyu$ '/Library/Application Support/Jenkins/Uninstall.command' Jenkins uninstallation script The following commands are executed using sudo, so you need to be logged in as an administrator. Please provide your password when prompted. + sudo launchctl unload /Library/LaunchDaemons/org.jenkins-ci.plist Password: + 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 Forgot package 'org.jenkins-ci.jenkins2894.postflight.pkg' on '/'. Forgot package 'org.jenkins-ci.support.pkg' on '/'. Forgot package 'org.jenkins-ci.documentation.pkg' on '/'. Forgot package 'org.jenkins-ci.launchd-jenkins.pkg' on '/'. Forgot package 'org.jenkins-ci.jenkins.osx.pkg' on '/'. + set +x Jenkins has been uninstalled.

验证

浏览器中输入: http://localhost:8080 报错就说明Jenkins卸载成功

转载请注明原文地址: https://www.6miu.com/read-3450364.html

最新回复(0)