https://github.com/itzg/jenkins-vagrant-example
Brings up three Vagrant VMs with one Jenkins master and two slaves configured to run Docker pipeline jobs
https://github.com/itzg/jenkins-vagrant-example
Last synced: 4 months ago
JSON representation
Brings up three Vagrant VMs with one Jenkins master and two slaves configured to run Docker pipeline jobs
- Host: GitHub
- URL: https://github.com/itzg/jenkins-vagrant-example
- Owner: itzg
- Created: 2018-06-25T21:10:26.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-28T13:33:33.000Z (about 8 years ago)
- Last Synced: 2026-01-20T13:44:28.835Z (6 months ago)
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Brings up three Vagrant VMs with one Jenkins master and two slaves. All are configured to run Docker pipeline jobs.
## Prerequisites
* Vagrant >= 2.x
* Ansible >= 2.5.x
## Usage
Bring up and provision the VMs using:
```bash
vagrant up
```
The Jenkins UI can be accessed at http://localhost:8080 with the username `admin` and password `admin`.
You should be able to create a new pipeline job with an inline Jenkinsfile that contains:
```groovy
pipeline {
agent {
docker { image 'ubuntu' }
}
stages {
stage('main') {
steps {
sh 'uname -a'
sh 'cat /etc/issue'
}
}
}
}
```