Jenkins搭建 (官网:https://jenkins.io/doc/)
安装后默认是8080端口。在mac下如果是service运行的话,其开启和关闭jenkins守护进程使用下面的方法:
Terminal and Start / Stop daemon
You want to use launchctl to start and stop Jenkins.
Start Jenkins: sudo launchctl load /Library/LaunchDaemons/org.jenkins-ci.plist
Stop Jenkins: sudo launchctl unload /Library/LaunchDaemons/org.jenkins-ci.plist