https://github.com/tether/dockerized-jenkins
Jenkins and Docker holding hands
https://github.com/tether/dockerized-jenkins
Last synced: about 1 year ago
JSON representation
Jenkins and Docker holding hands
- Host: GitHub
- URL: https://github.com/tether/dockerized-jenkins
- Owner: tether
- Created: 2015-04-16T03:55:12.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2016-01-08T13:01:41.000Z (over 10 years ago)
- Last Synced: 2025-03-21T12:11:50.154Z (over 1 year ago)
- Language: Shell
- Homepage:
- Size: 42 KB
- Stars: 12
- Watchers: 15
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Install
1. Clone this repo
2. `./scripts/install.sh`
# Run
1. To persist your jenkins changes make sure you have a persistent volume linked on `/var/jenkins_home`
2. `make start`
# Development
1. Make changes or pull them from the repository
2. `make rebuild` -> it will stop running container, rebuild the image, clean docker garbage and start jenkins again
# Restoring backups on your local machine
1. `mkdir -p .docker-dev/backup`
2. `scp -r -i USER@HOST:/mnt/backup .docker-dev`
3. Go to http://localhost:8080/thinBackup/backupsettings and ensure the backup dir is set to `/mnt/backup`
4. Go to http://localhost:8080/thinBackup/restoreOptions and restore the backup you just downloaded
5. `sed -i 's|jenkins\.example\.com|localhost|g' .docker-dev/jenkins_home/jenkins.model.JenkinsLocationConfiguration.xml`
6. `sed -i 's|true|false|g' .docker-dev/jenkins_home/config.xml`
7. Go to http://localhost:8080/manage and `Reload Configuration from Disk`