How to Setup a CI-CD Pipeline

What is DevOps?

DevOps Stages

Your understanding of what is DevOps is incomplete without learning about its life cycle. Let us now look at the DevOps lifecycle and explore how they are related to the software development stages.

What is CI CD Pipeline?

CI stands for Continuous Integration and CD stands for Continuous Delivery and Continuous Deployment. You can think of it as a process which is similar to a software development lifecycle.

Testing Phase:

Deploy Phase:

Auto Test Phase:

Deploy to Production:


Jenkins: CI-CD Pipeline

Our task is to automate the entire process, from the time the development team gives us the code and commits it to the time we get it into production.


Hands-On: Building CI CD Pipeline Using Docker and Jenkins

Step 1: Open your terminal in your VM. Start Jenkins and Docker using the commands “systemctl start Jenkins“, “systemctl enable Jenkins“, “systemctl start docker“.



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