robmorgan / jenkins2-docker

Jenkins 2 Docker Image

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Jenkins 2 Docker Example

This is the repository for a Jenkins 2 tutorial originally posted on my blog:

Note: The global Jenkins security has been disabled.

  1. Clone the Repo
$ git clone https://github.com/robmorgan/jenkins2-docker
$ cd jenkins2-docker
  1. Generate GitHub deployment keys (https://developer.github.com/guides/managing-deploy-keys/).
$ make keygen

Note: Deploy keys are usually not protected by a passphrase, making the key easily accessible if the server is compromised.

  1. Build the Docker image
$ make build
  1. Start Jenkins
$ make run
$ open http://localhost:8080

About

Jenkins 2 Docker Image


Languages

Language:Makefile 100.0%