How do continuous integration, continuous delivery and continuous deployment differ?
Answer
Continuous integration frequently combines small changes and verifies them with automated feedback. Continuous delivery keeps a verified build releasable through an automated pipeline but may retain a human production decision. Continuous deployment automatically releases every qualifying change. Each stage needs fast checks, traceable artifacts and a safe rollback path.
Strong answer includes
- distinguishes delivery from deployment
- connects CI to frequent integration
- includes artifact traceability and rollback
Practical example
A team merges to main a dozen times a day, and every merge triggers a build and test suite within 5 minutes — that's CI. Every green build automatically produces a versioned, deployable artifact sitting in a staging environment, but a product manager still clicks 'promote to production' — that's continuous delivery. Six months later, once confidence is high enough, they remove that manual click and every passing build on main goes straight to production within the hour — that's continuous deployment.