Custom Jenkins server including configuration as code plugin
4.1K
This is a custom Jenkins image, it is designed with configuration as code in mind. And includes the Configuration as Code plugin
Things you can customize:
- JENKINS_USER - The default admin user
- JENKINS_PASS - The default admin password
- JENKINS_PLUGINS - a list of (space separated) plugins to install in addition to configuration-as-code
(ie. JENKINS_PLUGINS="blueocean:1.24.5 kubernetes:1.29.2 nodejs:1.4.0" )
You should provide a mount point for /var/jenkins_home if you want to persist the data for the server.
If you want to supply a casc.yaml file you should mount it into the container as follows:
-v /path/to/jenkins/casc.yml:/usr/share/jenkins/casc/casc.yaml:ro
To get started with your casc.yaml file use the demos in the CasC plugin repo:
Here are some basic settings you'll probably want to start with:
jenkins:
remotingSecurity:
enabled: true
unclassified:
location:
adminAddress: "You <[email protected]>"
url: "http://jenkins.example.com"
See also:
Content type
Image
Digest
Size
316.9 MB
Last updated
over 5 years ago
docker pull ipenguin/jenkins-server