前情提要 在上文,我们已经把 jenkins 部署好了,其中 ansible 和 gitlab 因为在环境中已经有,就省略吧。 要部署的话,可以百度找资料,或者看我这几篇文章以作参考: https://www.itwordsweb.com/linux_doc/auto_01.html https://www.itwordsweb.com/linux_doc/auto_02.html https://www.itwordsweb.com/linux_doc/auto_03.html 制作 jdk8 的 docker 镜像 # 把 jdk8 的压缩包丢到服务器,和 jdk8.Docke...
整体思路 因为原有环境带有 gitlab 和 ansible,故本文不表述如何部署 gitlab/ansible 部署 jenkins 安装 docker,优化配置 # 安装 docker curl https://download.docker.com/linux/centos/docker-ce.repo -o /etc/yum.repos.d/docker.repo && yum -y install docker-ce.x86_64 # 启动 docker,关闭防火墙 systemctl start docker && systemctl ...