Task 2 DevopsAssemblyLines

Task 2 DevopsAssemblyLines

We got the second task and the following use case will provide you the complete details of it

No alt text provided for this image

first i created a container image that’s has Jenkins installed using dockerfile and then i build it . And on running the image the jenkins server starts automatically.

Following is the complete history of my docker image that i created and i named it jenkins:v2

No alt text provided for this image
No alt text provided for this image

Then i created 5 jobs on jenkins as i have shown in the above use case diagram.

 Job 1 : Pull the Github repo automatically when some developers push repo to Github.

 Job 2 : 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 ).

Job 3 : Test your app if it is working or not.

Job 4 : if app is not working , then send email to developer with error messages.

 job 5 for monitor : If container where app is running. fails due to any reson then this job should automatically start the container again.

Creating a docker file in which the jenkins is pre installed in it.

No alt text provided for this image
No alt text provided for this image

job1

No alt text provided for this image
No alt text provided for this image
No alt text provided for this image

job2

No alt text provided for this image
No alt text provided for this image

job 3

No alt text provided for this image
No alt text provided for this image

job 4

got some issues here will update the article as soon the problem resolves.

job 5

No alt text provided for this image
No alt text provided for this image

Here are the web pages which are hosted using docker images...

No alt text provided for this image
No alt text provided for this image




GitHub URL: https://github.com/arshmishra007/task2lw.git

To view or add a comment, sign in

More articles by Arsh Mishra

Others also viewed

Explore content categories