This workshop is based on Jenkins.
We are going to install Jenkins inside Docker.
To proceed with this guide, make sure that you have docker
installed on your machine (or the machine you're working on).
If you don't you can download it from their here.
Once you have installed docker
run this command (from this directory) to spin up the necessary containers:
docker compose up
This will spin-up the Jenkins container and a few other containers which we'll use throughout this workshop.
After the containers are running you should be able to open localhost:8080 in your browser and be greated by your Jenkins instance. It will ask you the admin password. This password can be found via the following command:
docker exec unified_pipeline_example_jenkins_1 cat /var/jenkins_home/secrets/initialAdminPassword
After that, Jenkins will prompt you to create the first user. It is strongly recommended to do that, although you can skip it and continue with the default admin user.
Now that we have a running Jenkins we can proceed to the next section where we will create our first pipeline.
This part of the workshop is based on this blog post and this guide.
The Jenkins container is slightly modified from the original one, because we need to have the Docker CLI in the container and also the Docker Pipeline plugin. The Dockerfile can be found here.