Sign inSign up

iotitude/jenkins-data

By iotitude

•Updated about 10 years ago

jenkins-data

Image
0

5.2K

iotitude/jenkins-data repository overview

⁠Jenkins

This repository contains Jenkins setup for dockerized continuous integration.⁠ See Wiki⁠ for details.

The hosts docker socket needs to be given to the jenkins-slave container as a volume.(-v /var/run/docker.sock:/var/run/docker.sock)
Then the slave can use the host machines docker in jenkins build steps.

⁠Run with Docker-compose

Use docker-compose.yml to run Jenkins from ready docker images. It uses:

To launch Jenkins in Rancher, use jenkins/rancher_docker-compose.yml.

⁠Build from dockerfiles

This Jenkins setup uses four dockerfiles from IoTitude/Jenkins repository: Jenkins master, slave, data volume and nginx proxy.

If you want to pre install Jenkins plugins list them in jenkins/jenkins-master/plugins.txt

In Jenkins directory:

# Builds images from the dockerfiles. Same as 'docker-compose build'.
make build

# Launch containers. Same as 'docker-compose up -d'.
make run

Now you have Jenkins running in containers and accessible at http://localhost/⁠

Tag summary

Content type

Image

Digest

Size

49 MB

Last updated

about 10 years ago

docker pull iotitude/jenkins-data