下载jenkins
http://jenkins-ci.org/content/thank-you-downloading-os-x-installer
会蹦出让填写密码,修改config配置文件
1 | <?xml version='1.0' encoding='UTF-8'?> |
如果要修改端口,比如7070,可在第8步重启jenkins前执行以下命令修改端口参数:
1 | sudo defaults write /Library/Preferences/org.jenkins-ci httpPort 7070 |