Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
36 lines (24 sloc) 923 Bytes

Jenkins AMI Module

The Jenkins AMI module can be used to build an Amazon AMI with the Jenkins open source automation software installed. It is based on the Ubuntu 16.04 distribution. This module requires Packer to build the included template and uses the install-jenkins module.

We recommend that you use this module as an example, copy the included template and customize it specifically for your own needs.

Requirements

Usage

To build the AMI:

$ packer build -only=ubuntu-ami jenkins.json

You can also test the template, locally using Docker.

Build the Docker image for testing locally:

$ packer build -only=ubuntu-docker jenkins.json

And to run it:

$ OS_NAME=ubuntu-linux docker-compose up
You can’t perform that action at this time.