https://github.com/peter-mount/jenkins-slave
Docker image containing a Java jenkins slave
https://github.com/peter-mount/jenkins-slave
Last synced: 5 months ago
JSON representation
Docker image containing a Java jenkins slave
- Host: GitHub
- URL: https://github.com/peter-mount/jenkins-slave
- Owner: peter-mount
- Created: 2016-07-06T13:37:33.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2018-04-18T18:19:15.000Z (about 8 years ago)
- Last Synced: 2024-12-06T21:38:25.905Z (over 1 year ago)
- Language: Shell
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is a jenkins slave primarily for use with area51/jenkins but should work with any jenkins server.
Full documentation: https://area51.onl/Docker/JenkinsSlave
The user is jenkins and the default password is jenkins. To change simply add -e JENKINS_PASSWORD=newpassword when running the image.
Mountable volumes:
* /var/run/docker.sock allows you to run docker commands within the slave. Normally you'd run it with -e /var/run/docker.sock:/var/run/docker.sock and nothing else.
* When using docker you can get the container to log in (so you can deploy images from jobs) with -e DOCKER_USER=userOrOrganisation -e DOCKER_PASSWORD=password
* Optionally you can use a local docker repository when logging in by adding -e DOCKER_SERVER=hostname