}}

Jenkins

Stable Updated: January 13, 2017

Run your continuous integration, automated testing, and continuous delivery jobs at scale with Jenkins for DC/OS. Instead of the static partitions so typical of other Jenkins clusters, Jenkins for DC/OS can create and destroy agents as demand increases and decreases. With multiple Jenkins masters sharing a single pool of compute resources, you can achieve much more efficient and resilient automations.

Jenkins for DC/OS runs as a root Marathon application inside a Docker container. The default Docker image contains several Jenkins plugins to get you up and running quickly. You can customize the Docker image to match your specific use case.

The Docker container also contains an NGINX reverse proxy that rewrites the URIs into the absolute paths Jenkins requires.

Jenkins for DC/OS needs a directory on disk to store its configuration and build data. To get up and running quickly, you can pin it to a single agent and use this to store the data. However, should the agent go down, your data will be lost.

Before going into production, you should set up a single POSIX-compliant file system that each agent mounts using the same path. Some options include NFS, Ceph, HDFS, and iSCSI.

Quickstart

About installing Jenkins for DC/OS As a package available in the Universe, Jenkins for DC/OS can be installed using either the web interface or the DC/OS CLI. With its sensible def...

Customizing your install

About customizing your installation parameters The Jenkins for DC/OS package accepts a range of configuration parameters at install. By default, Jenkins for DC/OS uses a /tmp direc...

Scripting and templating your jobs

About scripting and templating your jobs Over a period of time, the creation and maintenance of hundreds of Jenkins jobs can become a burden. The Job DSL plugin allows for jobs to ...

Customizing your Docker container

About customizing your Docker container By default, Mesosphere DC/OS runs everything inside Docker containers to minimize dependencies on the underlying host operating system and t...

Advanced Configuration

Advanced configuration Running Jenkins with an insecure Docker registry For testing purposes, you can configure an insecure Docker registry. To enable an insecure registry, pass in...

Upgrading

Upgrading To upgrade from one version of the Jenkins for DC/OS package to another, simply uninstall the current version, update your package repository cache, and install a new ver...

Uninstalling

About uninstalling Jenkins for DC/OS Jenkins for DC/OS can be uninstalled using either the web interface or the CLI. The process does not delete the data stored on either the pinne...