Please visit https://github.com/ayudadigital/gp-jenkins
Docker image and docker-compose sample configuration to bring up a Jenkins Service to the Teecke Docker Generic Platform (GP).
The service is formed by one container:
- jenkins: based on teecke/jenkins-dind docker image.
-
Use the
docker-compose.yml.samplefile as your docker-compose configuration file. -
Install assets with
devcontrol assets-install. -
Start the service with
docker-compose up -d. -
Open the url http://localhost:8080 in a browser and access to the Jenkins GUI.
-
Manage backups of your files:
- Execute the cleanup task
docker-compose exed jenkins cleanupto remove Jenkins workspace and docker disposable data1. - Make a backup executing
docker-compose exec jenkins backup. - Find the current backup within the
/var/backups/gp/jenkins/of the container. - Extract the current backup executing
docker cp $(docker-compose ps -q jenkins):/var/backups/gp gp.
- Execute the cleanup task
-
Stop the service with
docker-compose stop.
You can use this docker piece with the Docker Generic Platform project.
None known