![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Docker
文章平均质量分 56
凉城┓.〆
闲谈莫论人非,静坐常思己过
展开
-
基于docker使用Jenkins和gitlab自动构建
一、docker安装配置jenkinshttps://blog.csdn.net/qq_31644543/article/details/110958607二、docker安装配置gitlabhttps://blog.csdn.net/qq_31644543/article/details/115002471三、gitlab触发Jenkins自动构建https://blog.csdn.net/qq_31644543/article/details/115002606相关命令:.原创 2021-03-19 11:41:19 · 99 阅读 · 0 评论 -
push代码gitlab自动触发jenkins构建
jenkins配置一、jenkins安装gitlab hook和 build authorization token root插件二、设置jenkins1、系统管理-系统设置里边找到gitlab选项2、打开创建的项目打开设置找到build triggersGitLab CI Service URL后面要填在gitlab的webhooks中点开高级点击generate自动生成项目的secret tokengitlab项目配置webhook1、配置之...原创 2021-03-19 11:34:57 · 248 阅读 · 0 评论 -
Docker安装gitlab
参考https://www.jianshu.com/p/080a962c35b6一、下载gitlab镜像docker pull gitlab/gitlab-ce二、运行gitlabdocker run -d-p 2222:22-p 8888:80--name gitlab-v /Users/makan/gitlab/config:/etc/gitlab-v /Users/makan/gitlab/logs:/var/log/gitlab-v /Users/maka原创 2021-03-19 11:29:36 · 277 阅读 · 0 评论 -
Docker安装Jenkins并配置CI
官网:https://hub.docker.com/_/jenkins/一、下载jenkins镜像 docker pull jenkinsci/jenkins二、在宿主机创建jenkins配置文件mkdir /home/jenkinschown -R 1000:1000 jenkins/ 给uid为1000的权限三、运行jenkins,挂载本地宿主机文件地址docker run -d -p 9999:8080 --name jenkins -v /home/jenkins:/var原创 2020-12-10 18:23:17 · 237 阅读 · 1 评论