Shruti Kashyap
2 min readJan 6, 2022

Easy approach for implementing CI/CD using Jenkins-Part 1

(New year resolutions sometime helps! )

When I first heard about the DEV-OPS, I thought that does it really stop the blame game among developers ,testers and system administrators ?

Before jumping in to practical implementation lets talk about the concepts and tools which constitute Dev-Ops.

Dev-Ops should never be seen as replacement to agile as it is the optimized practice of Agile . Dev-Ops in a production world relies on three practices that is Continuous Integration, Continuous Delivery and Continuous Deployment. These practices helps to achieve different stages of Dev-ops which means from planning ,building and testing we follow the concept of Continuous Integration .From releasing ,deploying and operate ,Continuous Deployment concept is used .So now to understand that why continuous delivery came in to existence ,lets try to recall the difference between an ideal world and a real world . In a ideal world there is one solution which solves all problem but in real world ,problems are the subsets of a big problem and so does solutions .So ,what I m trying to say when the application is critical and you are bringing a sudden dynamic change you will opt to follow continuous delivery where manual intervention is required to deploy application rather than continuous deployment.

Now , let try to understand the tools which I have used to implement CI/CD -:

Git

Being a distributed version control system ,we need this to manage our code repository and it can easily be integrated with Jenkins. In this demo ,I have used one local repository rather than remote one .

Jenkins

“What is human without a heart “

This quote is same for what is Dev-Ops without Jenkins .Although I admit that now there are competitors but if you are a beginner you will opt for Jenkins due to its open source ,documentation and its capability of various plugin to integrate with other tools .

Maven

I used one simple java based project so thought of Maven as it can be used for building and managing any Java-based project and it is more advanced than ANT

Tomcat

Due to its extensive documentation and its lightweight nature ,it became one of the most popular web server and Servlet container for Java code and also my option for this demo

Now ,We will move step by step to see how to implement CI/CD and believe me when I say it is one of the simple approach to follow.

Please go to this link for Part 2 -:

Shruti Kashyap
Shruti Kashyap

No responses yet