Neural Project InstituteProject management certification for the AI era

Kanban guide · Lean foundations

Continuous Delivery: Pipeline, Principles and Kanban Flow

Continuous delivery is a software development practice in which every change is kept in a releasable state, so the team can put it into production safely, quickly and at any time. When to release becomes a business decision rather than a technical event. This guide explains how continuous delivery differs from continuous integration and continuous deployment, how a deployment pipeline works, how to measure it, and what it changes for Kanban flow, release planning and governance.

Key takeaways

  • Continuous delivery means any version that passes the deployment pipeline could be released to users at the push of a button.
  • Continuous integration is the foundation; continuous deployment goes one step further and releases every passing change automatically.
  • A deployment pipeline automates build, test and deployment so every change gets fast, reliable feedback.
  • Fixed release windows add waiting time: with a monthly release, a finished item waits about 15 days on average before reaching users.
  • DORA's five delivery metrics measure throughput and instability; pair them with Kanban flow metrics such as cycle time and throughput.
  • For project and product managers, release planning shifts from dates and big launches to small, frequent, low-risk changes.

What is continuous delivery?

Continuous delivery (often abbreviated to CD) is the ability to get changes of all kinds, such as new features, configuration changes, bug fixes and experiments, into production or into the hands of users safely, quickly and sustainably. The code is kept deployable at all times, so releasing becomes a routine, low-risk activity that can happen whenever the business chooses.

Martin Fowler's widely quoted description gives four practical tests. You are doing continuous delivery when:

  1. Your software is deployable throughout its lifecycle.
  2. Your team prioritises keeping the software deployable over working on new features.
  3. Anybody can get fast, automated feedback on the production readiness of their systems whenever someone makes a change.
  4. You can perform push-button deployments of any version of the software to any environment on demand.

The second test is the one teams most often miss. Continuous delivery is not just tooling; it is a commitment that a broken build or a failing test is fixed before anyone adds more work, in the same way that a Kanban team stops starting and starts finishing.

In Kanban terms, continuous delivery removes the batch-release step at the end of the process. Each item can flow to the customer as soon as it is done, which is why this guide sits in our Kanban section next to DevOps and value stream mapping.

Where continuous delivery came from

The idea is older than the name. The first principle behind the Agile Manifesto (2001) reads: 'Our highest priority is to satisfy the customer through early and continuous delivery of valuable software.' See our guide to the Agile Manifesto values and principles.

The practice was set out in detail by Jez Humble and David Farley in their 2010 book *Continuous Delivery: Reliable Software Releases through Build, Test, and Deployment Automation*. It built on continuous integration from Extreme Programming and on Lean manufacturing ideas: small batches, building quality in rather than inspecting it in afterwards, and stopping the line when something goes wrong. Our Lean Kanban guide covers those roots.

Later research by the DORA programme (DevOps Research and Assessment), summarised in the 2018 book *Accelerate* by Nicole Forsgren, Jez Humble and Gene Kim, linked continuous delivery practices with higher software delivery performance. DORA continues to publish annual research on the topic.

Continuous integration vs continuous delivery vs continuous deployment

The three terms are related, and the abbreviation CI/CD is used loosely for all of them. The key difference is how far automation goes and where a person makes a decision.

Continuous integration (CI)Continuous delivery (CD)Continuous deployment
What happensDevelopers merge small changes into the main branch frequently; each merge triggers an automated build and testsEvery change that passes CI moves through further automated tests and deployment to test environments, producing a release candidateEvery change that passes the whole pipeline is released to production automatically
Path to productionNot covered; releases may still be manual and infrequentOne-click or one-command release, whenever the business decidesAutomatic; no human step
Human decisionWhether a merge is readyWhen to releaseNone for routine changes; people act on failures
Main prerequisitesVersion control, automated build, fast tests, merging at least dailyCI plus deployment automation, broad test coverage and feature flagsContinuous delivery plus very high confidence in tests and monitoring
Typical fitAny software teamMost teams, including those with regulated or scheduled releasesWeb services and products where frequent releases are welcome

Fowler sums up the relationship: continuous deployment means every change goes through the pipeline and automatically into production; continuous delivery means you are able to do that, but may choose not to, usually for business reasons. You cannot do continuous deployment without first doing continuous delivery.

The five principles of continuous delivery

Jez Humble's site continuousdelivery.com sets out five principles. The middle column summarises each; the right-hand column is our interpretation for people who manage the work rather than write the code.

PrincipleWhat it meansWhat it means for project and delivery managers
Build quality inFind and fix defects as early as possible, ideally with automated tests, rather than relying on inspection at the endBudget for test automation as part of each item, not as a separate phase
Work in small batchesMove each change towards release in small increments for faster feedback and easier fixesSplit work into thin, independently releasable slices; keep WIP low
Computers perform repetitive tasks, people solve problemsAutomate builds, regression tests and deployments so people focus on higher-value workTreat manual release checklists as automation candidates
Relentlessly pursue continuous improvementImprovement is part of everyday work, not a one-off projectHold regular reviews of pipeline delays and failures, as you would for blockers
Everyone is responsibleQuality and delivery outcomes are shared, not someone else's jobAvoid hand-off structures where development 'throws work over the wall' to test or operations

Each of these mirrors a Kanban idea: limiting WIP, making policies explicit and improving collaboratively. Continuous delivery is effectively the engineering side of a pull system.

How a deployment pipeline works

The deployment pipeline is the automated path every change follows from a developer's commit to a production release. Its job is to give fast, reliable feedback: if a change would break something, the team should find out in minutes, not weeks. Pipelines differ, but most contain these stages.

StageWhat happensFeedback it gives
1. Commit stageCode is compiled or packaged and fast unit tests and static checks run on every commitDoes the change work in isolation? Usually within minutes
2. Automated acceptance testsThe build is deployed to a production-like test environment and functional and integration tests runDoes the system still do what users need?
3. Further testingPerformance, security and other non-functional checks, plus any manual exploratory or user acceptance testingIs it fast, secure and usable enough?
4. Staging or pre-productionThe same build is deployed using the same scripts that will be used in productionWill the deployment itself work?
5. Production releaseThe release candidate is deployed, often gradually or behind feature flagsDoes it work for real users?
6. Monitoring and feedbackErrors, performance and usage are monitored; the team can roll back or roll forward quicklyDid the change achieve its purpose without harm?

Rules for a healthy pipeline

  • Build once, deploy many times. The same artefact moves through every stage, so what you tested is what you release.
  • Fast feedback first. Put the quickest tests early, so most problems are caught in minutes.
  • Stop the line. If the pipeline fails, fixing it takes priority over new work. A pipeline that is often red stops being trusted.
  • Everything in version control. Application code, tests, configuration, infrastructure definitions and database changes should all be versioned. See our guide to configuration management.
  • Same process for every environment. Use the same deployment method for test, staging and production to remove last-minute surprises.
  • Make it visible. Display pipeline status where the team can see it, just like a Kanban board.

Core technical practices behind continuous delivery

You do not need to be an engineer to manage a team that practises continuous delivery, but it helps to recognise the practices that make it possible and to protect time for them.

  • Trunk-based development. Developers integrate into a single main branch at least daily, keeping branches short-lived. Long-lived branches create large, risky merges.
  • Test automation. A broad suite of fast automated tests replaces most manual regression testing. Without it, every release needs a long test phase and small releases are impractical.
  • Deployment automation. Releasing is a scripted, repeatable action rather than a manual runbook.
  • Infrastructure as code. Servers, networks and environments are defined in code, so test environments can be created on demand and match production.
  • Database change management. Database changes are scripted, versioned and backwards-compatible, so the application can be released without a long maintenance window.
  • Loosely coupled architecture. Teams can test and release their part of the system without coordinating with many others.
  • Monitoring and observability. The team can see how a change behaves in production and detect problems quickly.

When these practices are missing, the gap usually shows up as technical debt and long release cycles. Paying it down is part of the investment in continuous delivery.

Release strategies that make delivery safe

Continuous delivery separates deploying code (putting it into production) from releasing a feature (making it available to users). These techniques make that separation practical.

TechniqueHow it worksWhy teams use it
Feature flags (toggles)A setting in the code switches a feature on or off without redeployingShip unfinished work safely; release to selected users; turn off a faulty feature instantly
Dark launchNew code runs in production but its results are hidden from usersTest performance and behaviour under real load before users see it
Canary releaseA new version goes to a small share of users or servers first, then gradually to everyoneLimit the impact of a problem and compare behaviour with the old version
Blue-green deploymentTwo identical production environments; traffic switches from the old (blue) to the new (green)Near-zero downtime releases and an instant switch back if needed
Roll back or roll forwardRevert to the previous version, or quickly deploy a fixRecover fast when something goes wrong

For product managers, feature flags are particularly useful. They let marketing, support and sales choose the launch moment for a feature that has been safely in production for weeks.

Continuous delivery and Kanban

Kanban and continuous delivery solve two halves of the same problem. Kanban manages the flow of work through the team; continuous delivery removes the technical barriers that stop finished work reaching users. Together they let each item flow to customers in small batches.

  • Extend the board to the customer. Add columns for 'Ready to release' and 'Live' or 'Validated', so the board shows the full journey. See Kanban boards for design tips.
  • Redefine done. An item is done when it is in production and working, not when development hands it to test. Update your Definition of Done accordingly.
  • Limit WIP on the release queue. If 'Ready to release' fills up, that is a visible signal that releases are too infrequent. Apply a WIP limit there too.
  • Measure end-to-end. Track lead time and cycle time all the way to production, so release delays are not hidden.
  • Treat pipeline failures as blockers. Record them and analyse them with blocker clustering, just like any other delay.

Worked example: what a monthly release window costs

This example is illustrative, but the arithmetic applies to any team. Suppose a team finishes work steadily through the month and releases once a month. An item finished on the first day waits about 30 days for the release; one finished the day before waits one day. On average, a finished item waits about half the release interval.

Release intervalAverage wait for release (finished work)Items waiting at any time if the team finishes 10 a month
Quarterly (about 90 days)About 45 daysAbout 15
Monthly (about 30 days)About 15 daysAbout 5
Fortnightly (14 days)About 7 daysAbout 2 to 3
Weekly (7 days)About 3.5 daysAbout 1 to 2
On demand (continuous delivery)HoursClose to zero

The third column follows from Little's Law: average items waiting equals the rate at which items arrive multiplied by the average time they wait. Those waiting items are finished but unused work, which Lean thinking treats as inventory.

Now look at one typical item before and after the team adopted continuous delivery:

StageBefore: monthly releaseAfter: continuous delivery
Development3 days3 days
Waiting for code review1 day0.5 days
Testing2 days (mostly manual)1 day (mostly automated)
Waiting for the release window15 days on average0.5 days
Release hardening and regression testing3 daysNone; the pipeline does it on every change
Total lead time from start24 days5 days
Flow efficiency (active ÷ total)About 33% (8 of 24 days)80% (4 of 5 days)

Development took the same time in both cases. Almost all of the improvement came from removing the release batch and the manual phase it required. That is why teams often find continuous delivery shortens lead time more than any change to how they write code.

How to measure continuous delivery

The best-known measures come from DORA. Since 2024 DORA has used five software delivery metrics, grouped into throughput and instability. In 2023 it renamed mean time to restore as failed deployment recovery time and narrowed it to failures caused by a change, and in 2024 it added deployment rework rate.

DORA metricGroupWhat it measuresClosest Kanban measure
Change lead timeThroughputTime from a code commit to that change running successfully in productionLead time or cycle time, measured from start to live
Deployment frequencyThroughputHow often changes are deployed to productionThroughput of released items
Failed deployment recovery timeThroughputHow long it takes to recover from a deployment that fails and needs immediate attentionCycle time of expedited fixes
Change fail rateInstabilityShare of deployments that cause a failure in production needing immediate actionShare of items that return as defects
Deployment rework rateInstabilityShare of deployments that are unplanned, made to fix a problem in productionShare of failure demand in your throughput

DORA's research has consistently found that speed and stability move together rather than trading off: teams that deploy more often tend to have lower failure rates, not higher ones.

Use these metrics to guide improvement, not as targets for individuals or comparisons between teams. A team told to raise deployment frequency can do it by splitting deployments artificially without delivering anything faster. Combine them with your Kanban metrics and customer outcomes.

How to implement continuous delivery, step by step

Continuous delivery is adopted gradually. A sensible sequence for an existing product looks like this.

  1. Map the current path to production. Run a value stream mapping session from commit to live and record process time and waiting time at each step.
  2. Agree the goal and the measures. Pick two or three measures, such as change lead time and change fail rate, and record a baseline.
  3. Get continuous integration working. Everyone merges to the main branch at least daily, every merge is built and tested automatically, and broken builds are fixed immediately.
  4. Automate the slowest manual test work first. Use the value stream map to find the biggest test delays and automate those regression checks.
  5. Script the deployment. Make deployment one repeatable command, then use it for every environment.
  6. Make environments reproducible. Define test environments in code so they can be created on demand and match production.
  7. Introduce feature flags. Let unfinished features be merged and deployed safely while switched off.
  8. Shrink the work. Split backlog items into small, independently releasable slices.
  9. Increase release frequency in steps. Move from monthly to fortnightly to weekly to on demand, fixing what hurts at each step.
  10. Review and improve regularly. Look at pipeline failures, delays and DORA measures in a regular review, and decide whether continuous deployment would add value.

Humble's site sums up the attitude: if something hurts, do it more often and bring the pain forward. Each increase in release frequency exposes the next manual or fragile step to fix.

What changes for project and product managers

Continuous delivery is often treated as an engineering topic, but it changes how work is planned, governed and communicated.

Release planning

Release planning moves from fixing a date and cramming scope into it towards a steady flow of small changes, with launches managed through feature flags. Roadmaps describe outcomes and sequences rather than release trains of features. Our guide to Agile release planning explains how to plan when releases are frequent, and the free release plan template works for both scheduled and on-demand releases.

Governance and change approval

Many organisations route every production change through a change advisory board. In *Accelerate*, the authors report that approval by an external body was associated with slower delivery and was not associated with fewer failures. That does not mean removing control: it means building it into the pipeline with peer review, automated tests, audit trails and clear policies for higher-risk changes. Our guide to change control explains how to make approval proportionate.

Risk and stakeholders

Small releases are individually less risky and easier to reverse, which changes the risk conversation from 'will the big launch go well?' to 'how quickly can we detect and recover?'. Record residual risks such as dependency on a single environment in your risk management process, and agree with stakeholders how they will hear about changes when there is no big release event.

If you work in Scrum, continuous delivery fits well: the Scrum Guide says an Increment may be delivered to stakeholders before the end of the Sprint, and the Sprint Review should not be seen as a release gate.

Benefits of continuous delivery

The benefits below are those most often reported by practitioners and supported by DORA's research. How much you gain depends on your starting point.

  • Lower-risk releases. Small changes are easier to test, understand and reverse than large batches.
  • Shorter lead time. Finished work reaches users in hours or days instead of waiting for a release window.
  • Faster feedback. You learn sooner whether a feature is used and valued, and can stop building what is not.
  • Higher quality. Automated tests on every change catch regressions early, when they are cheapest to fix.
  • Less stressful release days. Releasing becomes routine rather than a late-night, all-hands event.
  • More reliable forecasts. Without a release batch, cycle times are shorter and less variable, which makes flow-based forecasting more accurate.
  • Business control over timing. The business decides when users see a feature, independently of when the code was finished.

Challenges and when continuous delivery is harder

Continuous delivery applies widely, but some contexts need adaptation. The goal is always the same: keep the software releasable, even if you release less often.

SituationChallengeHow teams adapt
Regulated industriesAudit, validation and approval requirementsAutomate evidence collection in the pipeline; keep every change traceable; make releases small so validation is quicker
Mobile appsApp store review and users choosing when to updateKeep the code releasable continuously; use feature flags and server-side configuration to control what users see
Embedded or hardware productsPhysical devices and long certification cyclesUse simulators and hardware-in-the-loop testing; deliver continuously to internal or test devices
Large legacy systemsSlow builds, few automated tests, tightly coupled componentsStart with the parts that change most often; add tests around them; gradually decouple
Shared environmentsTeams queue for the same test environmentInfrastructure as code to create environments on demand
Organisational habitsHand-offs between development, test and operations; fear of changeCross-functional teams, shared goals and visible metrics; see DevOps

The upfront investment in automation is real, and benefits usually arrive gradually. Plan it as a series of small improvements with measurable effects rather than a single transformation project.

Continuous delivery tools

No single product delivers continuous delivery; it comes from combining tools with disciplined practices. Most pipelines include tools from these categories.

CategoryWhat it does
Version controlStores code, tests, configuration and infrastructure definitions with full history
CI/CD server or serviceRuns the pipeline: builds, tests and deployments on every change
Test frameworksAutomate unit, integration, acceptance, performance and security tests
Artefact repositoryStores the built packages that move through the pipeline
Infrastructure as code and containersCreate consistent environments on demand
Feature flag managementControl which users see which features
Monitoring and observabilityShow how changes behave in production and alert on problems
Work trackingLinks work items to commits, builds and deployments so you can see flow end to end

For work tracking, developer-focused tools such as Jira can show builds and deployments against each work item when connected to development tools. Cross-functional teams that also manage marketing, launches and operations work may prefer a broader platform; our project management tools rankings compare the main options. A simple Kanban board template is enough to start visualising the path to live.

Common continuous delivery mistakes

  • Treating it as a tooling project. Buying a CI/CD service without changing batch size, testing or team habits rarely shortens lead time.
  • Tolerating a red pipeline. If failed builds are left for days, nobody trusts the pipeline and people bypass it.
  • Keeping long-lived branches. Weeks of isolated work produce the same risky merge that continuous delivery is meant to remove.
  • Automating the deployment but not the tests. Fast deployment of untested code moves risk rather than reducing it.
  • Measuring only speed. Deployment frequency without change fail rate and recovery time encourages careless releases.
  • Stopping the board at 'done in development'. If your board ends before production, release delays stay invisible.
  • Big-bang adoption. Trying to change everything at once usually stalls. Improve one bottleneck at a time; the Theory of Constraints helps you choose.
  • Leaving operations and security out. Continuous delivery works best when the people who run and secure the system help design the pipeline.

For the cultural side of continuous delivery and how development and operations work together, see our guide to DevOps.

Free templates for this topic

Browse all templates

Frequently asked questions

What is continuous delivery in simple terms?

Continuous delivery means your software is always in a state where it could be released to users. Every change is built and tested automatically, and releasing is a quick, routine step the business can take whenever it chooses.

What is the difference between continuous delivery and continuous deployment?

In continuous delivery, every change that passes the pipeline is ready to release, but a person decides when to release it. In continuous deployment, every change that passes the pipeline is released to production automatically.

What is the difference between continuous integration and continuous delivery?

Continuous integration means merging small code changes into the main branch frequently and building and testing each one automatically. Continuous delivery builds on it, so integrated code is also deployable to production at any time.

Is CI/CD the same as DevOps?

No. CI/CD describes specific practices for integrating, testing and releasing software. DevOps is the broader culture and set of practices that bring development and operations together, and CI/CD is one of its core technical practices.

What are the stages of a continuous delivery pipeline?

A typical pipeline has a commit stage with fast tests, automated acceptance tests, further testing such as performance and security, deployment to staging, the production release and monitoring. The details vary by team and product.

What are the principles of continuous delivery?

Jez Humble's continuousdelivery.com lists five: build quality in; work in small batches; computers perform repetitive tasks, people solve problems; relentlessly pursue continuous improvement; and everyone is responsible.

Who wrote the book Continuous Delivery?

Jez Humble and David Farley, in 2010. The full title is Continuous Delivery: Reliable Software Releases through Build, Test, and Deployment Automation.

Is continuous delivery only for software?

The practice comes from software. The underlying ideas of small batches, building quality in and keeping work always ready to release can be applied to websites, content, documentation and other digital products.

Can you do continuous delivery with Scrum sprints?

Yes. The Scrum Guide allows Increments to be delivered before the end of a Sprint, and the Sprint Review is not meant to be a release gate. Many Scrum teams release several times a sprint.

What is a feature flag?

A feature flag, or feature toggle, is a setting that switches a feature on or off without redeploying the code. It lets teams deploy unfinished work safely and release features to selected users when the business is ready.

What is trunk-based development?

A way of working in which developers integrate their changes into a single main branch at least once a day, rather than working on long-lived branches. It keeps merges small and is a key enabler of continuous delivery.

What are the DORA metrics?

DORA's five software delivery metrics are change lead time, deployment frequency, failed deployment recovery time, change fail rate and deployment rework rate. The first three measure throughput and the last two measure instability.

How long does it take to adopt continuous delivery?

It depends on the starting point. A new product can be set up for continuous delivery from the start; an existing system with few automated tests usually improves step by step over months, with benefits arriving at each step.

Can regulated organisations use continuous delivery?

Yes. Many regulated organisations practise it by building approvals, audit trails and validation evidence into the pipeline, so every change is traceable. They may release less often, but the software stays releasable.