https://github.com/johnelse/jenkins-lab
Scripts and things for experimenting with a Docker-based Jenkins cluster
https://github.com/johnelse/jenkins-lab
Last synced: 9 months ago
JSON representation
Scripts and things for experimenting with a Docker-based Jenkins cluster
- Host: GitHub
- URL: https://github.com/johnelse/jenkins-lab
- Owner: johnelse
- Created: 2018-02-03T10:53:20.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2022-02-24T14:20:29.000Z (over 4 years ago)
- Last Synced: 2025-05-07T17:06:01.112Z (about 1 year ago)
- Language: Shell
- Size: 1.91 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
jenkins-lab
-----------
Lets you run a jenkins controller and multiple agents on a single machine,
as [docker](https://www.docker.com/) containers. The controller and each
agent will all have their own docker volume which persists across container
restarts.
First, launch the jenkins controller:
```
./launch-controller.sh
```
You will be able to access the controller at http://127.0.0.1:8080. At this
point you can set up a user in the Jenkins interface, as well as set up any
build nodes. You are recommended to use `/home/jenkins` as the remote root
directory for any nodes, as this will be mounted as a persistent docker
volume.
Next, copy `credentials.sh.example` to `credentials.sh` and fill in the
username and password you set up in the Jenkins interface.
Finally, you can launch build agents for the nodes you've set up:
```
./launch-agent.sh
```