一、安装homebrew(网速很慢很慢……被墙了)

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

查看 Homebrew 版本

brew -v

详见:https://www.jianshu.com/p/117424d09d4c

homebrew换源,不然慢的要死

cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core"
git remote set-url origin https://mirrors.ustc.edu.cn/homebrew-core.git 
cd "$(brew --repo)"/Library/Taps/caskroom/homebrew-cask
git remote set-url origin https://mirrors.ustc.edu.cn/homebrew-cask.git 
echo 'export HOMEBREW_BOTTLE_DOMAIN=[https://mirrors.ustc.edu.cn/homebrew-bottles'](https://mirrors.ustc.edu.cn/homebrew-bottles' rel=) >> ~/.zshrc
source ~/.zshrc

详见:https://www.jianshu.com/p/766c047f625f

二、安装jenkins(网速很慢很慢……被墙了,查看上面的homebrew换源)

brew install jenkins

三、安装jenkins插件

四、启动jenkins

jenkins

五、

01-04 06:46