Category: Software, Docker, Jenkins, container, github

Create container image that’s has Jenkins installed using Dockerfile. Job2 : By looking at the code or program file, Jenkins should automatically start the respective language interpreter install image container to deploy code ( eg. If code is of PHP, then Jenkins should start the container that has PHP already installed ).

In this step we have to launch a container from jenkins:v1 image and also it should automatically starts Jenkins service in the container.

For sending the mail I am using a python code which is their in jenkins image.

Job 5: This job is for monitor the container where app is running If it fails due to any reason then this job will automatically start the container again.

Related Articles