add scripts and configuration to deploy with Jenkins Job Builder

These files make it possible to
- build a container image that includes Jenkins Job Builder
- store the container image in the OpenShift ImageStream
- use the container to validate or deploy the Jenkins Jobs

More details about the files are included in the README.md.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
Niels de Vos
2020-04-01 13:35:10 +02:00
parent 5caafe7539
commit 6d906b415f
9 changed files with 249 additions and 0 deletions

8
deploy/Makefile Normal file
View File

@ -0,0 +1,8 @@
WORKDIR ?= $(CURDIR)/../
OUTPUT ?= $(WORKDIR)/_output/
test:
jenkins-jobs test -o $(OUTPUT) $(WORKDIR)
deploy:
jenkins-jobs update $(WORKDIR)