Jenkins Docker Image with JCasC Part 2
Previously I wrote about a docker image that had Jenkins and the JCasC plugin.
This post is about an update to that code with a few enhancements, such as:
A job that runs daily that will apply the JCasC config, thus prevently drift. jenkins.yaml is split up into multiple yaml file and the entire dir is loaded. You can view the code on gitlab.
Dockerfile The changes we made to the Dockerfile are simple using the CASC_JENKINS_CONFIG environment variable to set a dir, and then copy all the yaml files in casc_configs to that directory.
[Read More]