To help you prepare the Jenkins Certification exam, this repository contains Docker compose configuration to quickly spin up Jenkins instances with all plugins listed in study guides provided here:
DISCLAIMER: This is not an official repository containing certification material. It's just there to help you train for the certification. Things can be outdated and not aligned with the certification exam.
Docker and Docker compose must be available on your machine.
For Certified Jenkins Engineer exam:
cd cje
docker-compose up
For Certified CloudBees Jenkins Platform Engineer exam:
cd ccjpe
docker-compose up
When the container hosting Jenkins is ready, browse http://localhost:8080
To remove docker containers, launch
docker-compose rm -f
To clean up volumes, launch
docker volume rm ccjpe_cjoc_home ccjpe_cm_home cje_jenkins_home
To rebuild docker images
docker-compose build
docker-compose up --force-recreate
As we are using docker-machine
to have our $DOCKER_HOST
, we cannot access containers through 127.0.0.1
. However, the communication between CJOC and CJE is done inside a private network (see docker-compose.yml
file). So, in the CJOC global configuration, you must keep the 127.0.0.1
even if you access the UI through docker-machine ip
value. You will have the reverse proxy warning message on the manage page, but don't worry about it.