Jenkins-Mac

简介: Jenkins-Mac

Jenkins-Mac



安装启动:
1、安装jenkins
brew install jenkins
2、链接launchd配置文件
ln -sfv /usr/local/opt/jenkins/*.plist ~/Library/LaunchAgents
ln -sfv /usr/local/opt/jenkins-lts/*.plist ~/Library/LaunchAgents
3、启动jenkins
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.jenkins.plist
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.jenkins-lts.plist
4、停止jenkins
launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.jenkins.plist
launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.jenkins-lts.plist
访问:http://localhost:8080 
清华大学镜像:https://mirrors.tuna.tsinghua.edu.cn/jenkins/updates/update-center.json

卸载:
'/Library/Application Support/Jenkins/Uninstall.command'

替换成阿里巴巴的 brew.git 仓库地址:
cd "$(brew --repo)"
git remote set-url origin https://mirrors.aliyun.com/homebrew/brew.git

还原为官方提供的 brew.git 仓库地址
cd "$(brew --repo)"
git remote set-url origin https://github.com/Homebrew/brew.git

替换成阿里巴巴的 homebrew-core.git 仓库地址:
cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core"
git remote set-url origin https://mirrors.aliyun.com/homebrew/homebrew-core.git

还原为官方提供的 homebrew-core.git 仓库地址
cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core"
git remote set-url origin https://github.com/Homebrew/homebrew-core.git

改成中文语言显示
插件名称:
Localization: Chinese (Simplified)



向GitHub提交代码时触发Jenkins自动构建




相关文章
|
Kubernetes API Docker
Mac下安装k8s
Mac下安装k8s
1017 0
|
Windows
Mac 下SVN的使用(SnailSVN)
Mac 下SVN的使用(SnailSVN)
696 0
|
9月前
|
存储 Kubernetes 负载均衡
Mac安装minikube
Mac安装minikube
173 0
|
9月前
|
自然语言处理 搜索推荐 iOS开发
Mac安装和使用GitBook
Mac安装和使用GitBook
|
jenkins Java 持续交付
Mac下安装与配置Jenkins
Mac下安装与配置Jenkins
280 0
|
SQL BI 数据库
Mac下安装与使用DbSchema
Mac下安装与使用DbSchema
219 0
|
缓存 NoSQL 数据可视化
Mac下安装与使用Medis
Mac下安装与使用Medis
246 0
|
数据安全/隐私保护 Docker 容器
Mac安装Docker
Mac安装Docker
402 0
|
NoSQL Linux 测试技术
如何在Mac上安装BRPC
如何在Mac上安装BRPC
706 0
如何在Mac上安装BRPC
|
存储 关系型数据库 MySQL
Mac上sonar插件的安装及使用
本文主要讲解sonar的安装及使用。 分为两个维度来讲解
978 0
Mac上sonar插件的安装及使用