A custom, all batteries included, Jenkins master image
Go to file
R. Tyler Croy 5c3c709d43
Document the environment variables which should be set
Fixes #6
2018-01-03 12:13:26 -08:00
init.groovy.d Document the environment variables which should be set 2018-01-03 12:13:26 -08:00
proxy Ensure `make clean` always succeeds 2018-01-02 13:32:03 -08:00
scripts Add the restricted declarative plugin 2018-01-02 12:09:11 -08:00
.dockerignore Tweak plugin builds as to not require superuser permissions anywhere 2017-12-19 22:15:35 -08:00
.gitignore Initial commit 2017-12-19 16:16:35 -08:00
Dockerfile Return the agent port to the environment to avoid unnecessary exceptions 2018-01-02 12:13:21 -08:00
Dockerfile.builder Import code from the old tree with some minor adjustments 2017-12-19 16:27:52 -08:00
Jenkinsfile Re-order the `make check` to ensure it passes first 2017-12-21 07:00:00 -08:00
LICENSE Initial commit 2017-12-19 16:16:35 -08:00
Makefile Missed a few references to rtyler/codevalet-builder 2017-12-21 21:11:40 -08:00
README.adoc Document the environment variables which should be set 2018-01-03 12:13:26 -08:00
plugins.yml Refactoring a bit of code out of the one big build-plugins script 2017-12-19 17:03:55 -08:00

README.adoc

<html lang="en"> <head> </head>

Code Valet Master

This repository contains the script and code necessary to build a Docker image with a Jenkins master and the necessary plugins for it to operate.

This code was originally located in the codevalet/codevalet repository but has since been moved out to allow for more independent iteration on the master image itself.

Hacking

Prerequisites

  • Git

  • GNU/Make

  • Docker

  • Docker Compose

Running locally

  1. docker pull codevalet/master:latest

  2. docker run -p 8080:80 -e GITHUB_USER=yourgithubname codevalet/master:latest

Environment Variables

  • GITHUB_USER GitHub user name to grant permissions

  • CLIENT_ID (optional) custom GitHub OAuth Application Client ID

  • CLIENT_SECRET (optional) custom GitHub OAuth Application Client Secret

  • MAX_AGENTS (optional) maximum number of agents (defaults to 2)

  • AZURE_TENANT_ID Azure tenant ID for agent provisioning

  • AZURE_SUBSCRIPTION_ID Azure subscription ID for agent provisioning

  • AZURE_CLIENT_ID Azure client ID for agent provisioning

  • AZURE_CLIENT_SECRET Azure client secret for agent provisioning.

</html>