随笔分类 -  Jenkins

Jenkins部署
摘要:问题描述 使用jenkins镜像时,因为镜像内docker的运行环境异常,而无法构建docker应用 例如 没有映射/var/run/docker.sock而导致的问题 [ERROR] Failed to execute goal com.spotify:docker-maven-plugin:1. 阅读全文
posted @ 2020-05-19 19:46 L狗哥 阅读(969) 评论(0) 推荐(0)
摘要:root身份登录容器 1.使用以下命令进入镜像 docker exec -u 0 -it jenkins /bin/bash 2.修改时区 rm -f /etc/localtime ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime Web端 阅读全文
posted @ 2020-05-19 19:41 L狗哥 阅读(279) 评论(0) 推荐(0)
摘要:参考 jenkins/jenkins Docker Hub 上的官方 Jenkins 镜像 How to run and upgrade Jenkins using the official Docker image 部署 过程 创建jenkins目录 mkdir -p /mnt/softwares 阅读全文
posted @ 2020-05-19 19:39 L狗哥 阅读(251) 评论(0) 推荐(0)