Jenkins-as-Code approach
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
resources
vars
.gitignore
LICENSE
README.md

README.md

Docker Repository on Quay.io

jenkins-as-code

[Demo] Bootstrapping Jenkins:

This repository contains a Jenkins-as-Code approach. Everything is tested and running on minikube v0.33.1. The setup is based on docker, helm and git so it can be easily applied in different infrastructures. Plugins and minimum setup are pre-baked inside a docker image. A configuration and seeding pipeline provisions Jenkins with configuration code from a central git repository. Configuration includes: agents on demand (with terraform), slack, github, github-oauth, security settings, theming, ...

Running locally

Tested with:

  • minikube v0.33.1
  • helm 2.12.2

To run locally:

minikube start
helm upgrade --install jenkins-as-code resources/helm/

This should open Jenkins on http://192.168.99.100:30001/.

On-Demand Agents

The code base also supports on-demand agents with custom terraform bootstrapping/destroy pipelines. A demo can be found here

Detailed Explanations

The following blog entries describe in more detail how this works: