摘要: 1.添加远程服务器信息 2.添加远程服务器目录,注意勾选Use password authentication,or use adifferent key. 点击Test Configuration 查看是否成功 3.新建任务,参数化构建 阅读全文
posted @ 2020-05-19 20:00 L狗哥 阅读(339) 评论(0) 推荐(0) 编辑
摘要: 问题描述 使用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狗哥 阅读(904) 评论(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狗哥 阅读(256) 评论(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狗哥 阅读(234) 评论(0) 推荐(0) 编辑