Background: I wanted to be able to look at the code or program file in GitHub repo and have Jenkins automatically start the respective language interpreter installed in the container to deploy code. For example, if the code is of PHP, Jenkins should start the container that has PHP already installed. And I wanted that as soon as I launch a container it will automatically start the Jenkins service.
Goals: Integrating Jenkins, Red Hat Enterprise Linux (RHEL), GitHub, and Docker so that as soon as we launch the Docker container, it will automatically start the Jenkins service.
Solution & Results: I created an image for Jenkins and launched a container using that image. I then created jobs using the build pipeline plugin. Steps that I used to solve this challenge include:
Using Jenkins in my project reduces the time I need to spend managing it.
Key capabilities used included:
Results are standard but much appreciated: