rancher/jenkins-slave

Name: jenkins-slave

Owner: Rancher

Description: Jenkin swarm slaves with docker installed

Created: 2015-08-09 06:00:22.0

Updated: 2018-05-19 19:56:47.0

Pushed: 2018-04-23 21:10:29.0

Homepage: null

Size: 14

Language: Shell

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

jenkins-slaves

Jenkin swarm slaves with docker installed and accessible to docker slave.

Running

To run a Docker container customizing the different tools with your credentials

docker run \
-e JENKINS_USERNAME=jenkins \
-e JENKINS_PASSWORD=jenkins \
-e JENKINS_MASTER=http://jenkins:8080 \
rancher/jenkins-slave
Optional Environment Variables

You can specify optional environment variables below when invoking docker run to customize the behavior of the swarm client.

| Parameter | Default Value | Description | |—————–|———————|———————————————————————————-| | SLAVE_EXECUTORS | number of cpu cores | This value specifies the number of concurrent jobs this worker can process | | SLAVE_NAME | swarm-client | This value specifies the name of slave that will appear on Jenkins UI | | SLAVE_LABELS | None | This value specifies the labels you want to give for the launching slave | | SLAVE_MODE | None | This value specifies job allocation mode for the slave (normal or exclusive) |


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.