🔧 What is Jenkins?

Jenkins is an open-source automation server used to implement Continuous Integration (CI) and Continuous Delivery/Deployment (CD). It helps developers automate the process of building, testing, and deploying code.


🧩 Key Concepts

Continuous Integration (CI)

🚀 Continuous Delivery/Deployment (CD)


⚙️ How Jenkins Works

  1. Source Code Management (SCM): Connects to GitHub, GitLab, Bitbucket, etc.
  2. Build Triggers: Automatically runs when code is pushed, on a schedule, or manually triggered.
  3. Build Pipeline: Executes a series of steps (build, test, deploy).
  4. Plugins: 1000+ plugins to integrate with tools like Docker, Kubernetes, Maven, Slack, etc.

📦 Jenkins Pipeline (Scripted or Declarative)

A pipeline defines your CI/CD process as code (Jenkinsfile), example: