Skip to content

cloudbees/docker

 
 

Repository files navigation

This repository is no longer used.


CloudBees Jenkins Enterprise Docker image

This is a fully functional CloudBees Jenkins Enterprise.

CloudBees

Usage

docker run -p 8080:8080 -p 50000:50000 cloudbees/jenkins-enterprise

NOTE: read below the build executors part for the role of the 50000 port mapping.

This will store the workspace in /var/jenkins_home. All Jenkins data lives in there - including plugins and configuration. You will probably want to make that an explicit volume so you can manage it and attach to another container for upgrades :

docker run -p 8080:8080 -p 50000:50000 -v jenkins_home:/var/jenkins_home cloudbees/jenkins-enterprise

this will automatically create a 'jenkins_home' volume on docker host, that will survive container stop/restart/deletion.

Avoid using a bind mount from a folder on host into /var/jenkins_home, as this might result in file permission issue. If you really need to bind mount jenkins_home, ensure that directory on host is accessible by the jenkins user in container (jenkins user - uid 1000) or use -u some_other_user parameter with docker run.

Backing up data

See Jenkins Docker Image Documentation / Backing up data.

Setting the number of executors

See Jenkins Docker Image Documentation / Setting the number of executors.

Attaching build executors

See Jenkins Docker Image Documentation / Attaching build executors.

Passing JVM parameters

See Jenkins Docker Image Documentation / Passing JVM parameters.

Configuring logging

See Jenkins Docker Image Documentation / Configuring logging.

Passing Jenkins launcher parameters

See Jenkins Docker Image Documentation / Passing Jenkins launcher parameters.

Installing more tools

See Jenkins Docker Image Documentation / Installing more tools.

Preinstalling plugins

See Jenkins Docker Image Documentation / Preinstalling plugins.

Upgrading

See Jenkins Docker Image Documentation / Upgrading.

Support?

Contact CloudBees support at https://support.cloudbees.com

Packages

No packages published

Languages

  • Shell 89.1%
  • Dockerfile 9.8%
  • Groovy 1.1%