MlOps + DevOps

Docker Jenkins GitHub Integration

Ankit Prakash
2 min readAug 2, 2020

1.Create container image that has Jenkins installed using dockerfile

Docker ps

When we launch this image, it should automatically starts Jenkins service in the container.

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

Job2 : By looking at the code or program file, Jenkins should automatically start the respective language interpreter installed image container to deploy code

Job3 : Test your app if it is working or not.

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

Pipeline

Create One extra job, job5 for monitor : If container where app is running. fails due to any reson then this job should automatically start the container again.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Ankit Prakash
Ankit Prakash

No responses yet

Write a response