Base Image Image Name: devopsbasservice/buildonframework:buildon-jenkinsfile - Jenkins 2.60.1
- Utilities: wget, curl, zip, tree, elinks, openssh-server, tini, git, oracle-java8-installer
- Apache maven 3.3.9
Scripts/filesDocker file has the following key components: - jenkins.sh – Entry point of the image. Extracts jenkins.war, makes Jenkins up and running, creates jobs based on job.yaml file, and post-execution, ships logs to Kubernetes master.
- install-plugins.sh – Shell script to install plugins mentioned in plugins.txt automatically resolving the dependent plugins as well.
- plugins.txt – Plugins required for the build. Any number of plugins can be mentioned.
- ScalrJenkins Plugin (custom) - com.hpi.ScalrJenkins.ScalrJenkins.xml file with SCALR URL and API keys configured.
|