-
Requirements:
-
GNU
make
-
Docker
-
k3d
-
-
Build the Jenkins controller image with
make docker
-
If you want, you can upgrade re-generate the file
plugins.txt
file of this Docker image withmake plugins
-
-
Create a local cluster with
make cluster
-
If you want to use the local Docker image of the Jenkins controller, use the command
make docker-load
to add the image from your docker enginee into the cluster
-
-
Deploy the Jenkins Controller with
make jenkins
-
Cleanup with one of these commands:
-
Jenkins deploymenent:
make clean-jenkins
-
k3d cluster:
make clean-cluster
-
Everything:
make clean
-
The Docker image for the Jenkins controller uses a set of plugins defined with fixed versions in docker/plugins.txt
.
If you want to update these plugins, execute the following script with Docker available: ./docker/update-plugins.sh
.
Please note that the script uses the Jenkins image version defined in ./docker/Dockerfile
.