An open API service indexing awesome lists of open source software.

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

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'
}
}
}
}
```