Public Repository

Last pushed: 10 months ago
Short Description
Jenkins with ansible and JJB
Full Description

Image that contains Jenkins CI together with the following installed:

  • Ansible
  • Jenkins Job Builder
  • Vim

Run the image with the following command:
docker run -p 8110:8080 -v $(pwd):/tmp javilete/jenkins-jjb from JJB folder repo, since we are creating a volume any change locally in the files will be available inside the container.

Jenkins will be accessible at localhost:8110 (choose any other port available if you wish)

Login with the following credentials:
Username: jenkins
Password: jenkins

Plugins will be installed already. If any plugin is missing, please drop a comment so it can be added in the following version of the image.

Access to the container shell with the following command:
docker exec -it <container_id> bash

Now you are ready to run the following commands:

  • jenkins-jobs test -r globals:jobs >/dev/null (checks yml code)
  • jenkins-jobs update -r globals:jobs/idam/am (generates jobs if there are not errors)
Docker Pull Command
Owner
javilete

Comments (0)