Skip to content
Agile & Delivery

CI/CD

Definition

CI/CD stands for continuous integration and continuous delivery or deployment. Developers merge code often and automated builds and tests check every change (CI); tested changes are kept ready to release, or released automatically (CD).

Diagram

A CI/CD pipelineEvery merged change is built and tested automatically: that is continuous integration. Passing changes go to staging. With continuous delivery a person approves the release to production; with continuous deployment it goes out automatically. A failure at any step stops the change and alerts the team.MergeBuildAutomatedtestsStagingProduction?Continuous integrationContinuous delivery or deploymentthe gateDelivery: a person decides when to release, any time.Deployment: no gate; every change that passes goes straight to users.
The pipeline is only as trustworthy as its tests: a red build stops the line for everyone until it’s fixed. Small, frequent merges keep each change easy to test and easy to undo.

Worked example