Uncodemy Logo ← Back to Course
Jenkins · Topic 1 of 15

Introduction to CI/CD

Why CI/CD?

For continuous integration and continuous deployment, Jenkins is the most widely used tool in the DevOps world. It automates the way code moves from a developer's laptop to a live production server.

CI — Continuous Integration

CI is the combination of continuous build + continuous test. Whenever a developer commits code using a source code management tool like GIT, the CI pipeline automatically picks up the change, builds it, and runs unit tests.

CI Server

On a CI Server, Build, Test & Deploy activities are all performed together on a single server.

CI Server = Build + Test + Deploy

CD — Continuous Delivery / Deployment

Continuous Delivery

Continuous Delivery makes a build artifact available for deployment. Whenever a new build artifact is ready, it is automatically placed in the desired environment. Deploying to production is still a manual step here — it needs human approval.

Continuous Deployment

The CI/CD Pipeline

The overall flow looks like a mini Software Development Life Cycle (SDLC) with 6 phases:

  1. Version Control — Developers commit code using GIT or SVN.
  2. Build — The code gets compiled (e.g. using Maven for Java).
  3. Unit Test — Code-level testing using tools like SonarQube / mvn test.
  4. Deploy — Code is deployed to a Dev/Testing (pre-prod) environment.
  5. Auto Test — Application-level automation testing using Selenium/JUnit.
  6. Deploy to Production — If everything looks good, the code goes live.

If an error occurs at any stage, feedback is given immediately and the issue is fixed before moving forward — this is what makes the entire SDLC automatic and fast when using Jenkins.

Master Jenkins & DevOps with Uncodemy

Hands-on live training, real projects, and placement support — become job-ready in DevOps.

Enroll in DevOps Training →