ssh-slave

Ssh Slave Docker Image

自动构建

Jenkins SSH构建代理Docker镜像,用于通过SSH建立连接的Jenkins代理,支持分布式构建,可作为Jenkins从节点接收构建任务。

42 次收藏下载次数: 0状态:自动构建维护者:jenkinsci仓库类型:镜像最近更新:6 年前
下载命令
点击查看

Jenkins SSH Build Agent Docker image

https://jenkins.io agent using SSH to establish connection.

See https://wiki.jenkins-ci.org/display/JENKINS/Distributed+builds for more info.

Running

To run a Docker container

bash
docker run jenkins/ssh-slave "<public key>"

You'll then be able to connect this agent using the https://plugins.jenkins.io/ssh-slaves as "jenkins" with the matching private key.

How to use this image with Docker Plugin

To use this image with https://wiki.jenkins-ci.org/display/JENKINS/Docker+Plugin, you need to pass the public SSH key using environment variable JENKINS_SLAVE_SSH_PUBKEY and not as a startup argument.

In Environment field of the Docker Template (advanced section), just add:

JENKINS_SLAVE_SSH_PUBKEY=<YOUR PUBLIC SSH KEY HERE>

Don't put quotes around the public key. You should be all set.

Changelog

See https://github.com/jenkinsci/docker-ssh-slave/releases/latest. Note that the changelogs and release tags were introduced in Dec 2019, and there is no entries for previous patches. Please consult with the commit history if needed.

镜像拉取方式

您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。

轩辕镜像加速拉取命令点我查看更多 ssh-slave 镜像标签

docker pull docker.xuanyuan.run/jenkinsci/ssh-slave:<标签>

DockerHub 原生拉取命令

docker pull jenkinsci/ssh-slave:<标签>
专业版 · 高速稳定拉取镜像
50GB 仅 ¥8/年
高速镜像下载在线技术支持99.95% SLA 保障付费会员免广告