https://github.com/toast-gear/jenkins-development-environment
https://github.com/toast-gear/jenkins-development-environment
jenkins technical
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/toast-gear/jenkins-development-environment
- Owner: toast-gear
- Created: 2019-08-13T12:31:21.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-08-23T08:51:51.000Z (almost 5 years ago)
- Last Synced: 2025-09-11T00:53:25.538Z (9 months ago)
- Topics: jenkins, technical
- Language: Dockerfile
- Homepage:
- Size: 20.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## jenkins-development-environment
### Rationale
Basically got tired of joining companies and testing Jenkins being hard. So I am now rolling my own environment from company to company
### Credentials
The docker-compose.yaml is set to run without credentials, this is set via the `JAVA_OPTS` parameter `-Djenkins.install.runSetupWizard=false`. If this is removed or set to `true` you will need to be aware of the below:
_By default the admin password is held in file on the master, on first run of the setup wizard the password should get printed into terminal. On subsequent runs you can find it again by cat'ing the contents of below file (assuming you haven't changed it)_
**Username :** `admin`
**Password :** `cat /var/jenkins_home/secrets/initialAdminPassword`
### Plugin Configuration
Jenkins on boot will run any groovy file held in $JENKINS_HOME/groovy.init.d/*.groovy. Create or edit groovy scripts in `jenkins-master/groovy.init.d`. This is copied over into the container at docker build time.
### Instructions
To build the images issue `docker-compose build`, to subsequently run the stack use `docker-compose up`
### Adding Jenkins Nodes
See each nodes README.md for details on how to add each type:
* [Linux Node](./jenkins-node-linux/README.md)
### JAVA_OPTS Parameters
May want to use this for something, it is how you pass in parameters to the java environment
https://wiki.jenkins.io/display/JENKINS/Features+controlled+by+system+properties