Integration of Github with Docker and Jenkins

The aim of the this article is to configure a web server inside the container with the right HTML code.

Project Description

I created a local repository where I put my code. This Repository is also Known as Work-Space . And push my HTML code in Git Hub, and created one more branch for the developer where the developer team pushes the code.

Job1:

Jenkins fetch from dev and deploy on dev-docker environment

Here you see dev code run successfully it return status code 200.

Job2:

Jenkins fetch from master and deploy on master-docker environment

JOb3:

As in Job 1, it returns Status Code = 200, it means it is working fine.

So now it will merge dev branch to master branch. And push it to Github.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store