CI/CD Using Docker, Jenkins, and Git.

Ashutosh Singh
The Startup
Published in
5 min readJul 7, 2020

--

In today’s ever-evolving landscape, one of the top challenges for software companies is quickly responding to market and customer demands. And CI/CD methodology emerged as the pivotal solution to such a challenge. Read this article to find out more about CI/CD and how these practices are performed.

Continuous integration (CI) helps ensure that software components work together. Integration should be completed frequently; if possible, on an hourly or daily basis.

Continuous delivery (CD) picks up where continuous integration ends. While CI is the process to build and test automatically, CD deploys all code changes in a build to the testing or staging environment.

In this article, I have some tasks to develop CI/CD pipeline-

1. Create a Docker file that will install Jenkins.

2. As soon we run this docker image (docker file) it should install Jenkins.

3. With the help of Job chaining, Now we have to create jobs in Jenkins.

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

5. Job2: By looking at the code or program file, Jenkins should automatically start the respective language interpreter to install the image container to deploy code ( eg. If the code is of PHP

--

--