1.先关闭jenkins ;
2:命令行下修改端口:
sudo defaults write /Library/Preferences/org.jenkins-ci httpPort 7071
3:启动jenkins
附:
启动jenkins:
sudo launchctl load /Library/LaunchDaemons/org.jenkins-ci.plist
停止jinkins:
sudo launchctl unload /Library/LaunchDaemons/org.jenkins-ci.plist