项目作者: pbsladek

项目描述 :
Jenkins alpine jnlp slave
高级语言: Shell
项目地址: git://github.com/pbsladek/jenkins-alpine-jnlp-slave.git
创建时间: 2019-04-05T23:12:30Z
项目社区:https://github.com/pbsladek/jenkins-alpine-jnlp-slave

开源协议:MIT License

下载


Jenkins Agent Apline Docker Image with Tools

Docker Stars
Docker Pulls
Docker Automated build

This is a base image for Docker, which includes OpenJDK 8 and the Jenkins agent executable (slave.jar).
This executable is an instance of the Jenkins Remoting library.

Usage

This image may instead be used to launch an agent using the Launch method of Launch agent via execution of command on the master. Try for example

  1. docker run -i --rm --name agent --init pwbsladek/jenkins-alpine-jnlp-slave java -jar /usr/share/jenkins/slave.jar

after setting Remote root directory to /home/jenkins/agent.

Agent Work Directories

Starting from Remoting 3.8 there is a support of Work directories,
which provides logging by default and change the JAR Caching behavior.

Call example:

  1. docker run -i --rm --name agent1 --init -v agent1-workdir:/home/jenkins/agent pwbsladek/jenkins-alpine-jnlp-slave java -jar /usr/share/jenkins/slave.jar -workDir /home/jenkins/agent