重新搭环境真TMD烦躁啊,mac上直接安装jenkins,会默认装到/Users/Share/Jenkins,使用git的时候各种问题,怎么办呢? 换个目录吧。
在这个目录下:
bixiaopengdeiMac:LaunchDaemons bixiaopeng$ pwd
/Library/LaunchDaemons
#编缉里面的jenkinshome和username
bixiaopengdeiMac:LaunchDaemons bixiaopeng$ sudo vim org.jenkins-ci.plist
#然后
bixiaopengdeiMac:LaunchDaemons bixiaopeng$ sudo launchctl unload -w /Library/LaunchDaemons/org.jenkins-ci.plist
bixiaopengdeiMac:LaunchDaemons bixiaopeng$ sudo launchctl load -w /Library/LaunchDaemons/org.jenkins-ci.plist
再打开jenkins就更换成功啦
订阅
微信搜索“毕小烦”或者扫描下面的二维码,即可订阅我的文章。
如果文章对你有帮助,请随手点个赞吧!
(完)