Continuous delivery

From Wikipedia, the free encyclopedia
Jump to: navigation, search

Continuous Delivery (CD) is a software engineering approach in which teams produce software in short cycles, ensuring that the software can be reliably released at any time.[1] It aims at building, testing, and releasing software faster and more frequently. The approach helps reduce the cost, time, and risk of delivering changes by allowing for more incremental updates to applications in production. A straightforward and repeatable deployment process is important for continuous delivery.

Relationship to DevOps[edit]

Continuous Delivery and DevOps are similar in their meanings and are often conflated, but they are two different concepts.[2] DevOps has a broader scope,[3] and centers around the cultural change, specifically the collaboration of the various teams involved in software delivery (developers, operations, quality assurance, management, etc.), as well as automating the processes in software delivery.[3] Continuous Delivery, on the other hand, is an approach to automate the delivery aspect, and focuses on bringing together different processes and executing them more quickly and more frequently.[4] Thus, DevOps can be a product of Continuous Delivery, and CD flows directly into DevOps.

Relationship to Continuous Deployment[edit]

Continuous Delivery is sometimes confused with Continuous Deployment. Continuous Deployment means that every change is automatically deployed to production. Continuous Delivery means that the team ensures every change can be deployed to production but may choose not to do it, usually due to business reasons. In order to do Continuous Deployment one must be doing Continuous Delivery.[5]


Continuous Delivery process diagram.svg

Continuous delivery treats the commonplace notion of a deployment pipeline[6] as a lean Poka-Yoke:[7] a set of validations through which a piece of software must pass on its way to release. Code is compiled if necessary and then packaged by a build server every time a change is committed to a source control repository, then tested by a number of different techniques (possibly including manual testing) before it can be marked as releasable.

Developers used to a long cycle time may need to change their mindset when working in a CD environment. It is important to understand that any code commit may be released to customers at any point. Patterns such as feature toggles can be very useful for committing code early which is not yet ready for use by end users. Using NoSQL can eliminate the step of data migrations and schema changes, often manual steps or exceptions to a continuous delivery workflow.[8] Other useful techniques for developing code in isolation such as code branching are not obsolete in a CD world, but must be adapted to fit the principles of CD - for example, running multiple long-lived code branches can prove impractical, as a releasable artifact must be built early in the CD process from a single code branch if it is to pass through all phases of the pipeline.

Deployment Pipeline[edit]

Continuous delivery is enabled through the deployment pipeline. The purpose of the deployment pipeline has three components: Visibility, Feedback, and Continually Deploy.[9]

  • Visibility – All aspects of the delivery system including building, deploying, testing, and releasing are visible to every member of the team to promote collaboration.
  • Feedback – Team members learn of problems ASAP when they occur so that they are able to fix them as quickly as possible.
  • Continually Deploy – Through a fully automated process, you can deploy and release any version of the software to any environment.

Tools/tool types[edit]

Continuous delivery takes automation from source control all the way through production. There are various tools that help accomplish all or part of this process.[10] These tools are part of the deployment pipeline which includes continuous delivery. The types of tools that execute various parts of the process include: Continuous Integration, Application release automation, Build Automation, Application lifecycle management.[11]

Implementation and usage[edit]

The CD book written by Jez Humble and David Farley popularized the term, however since its creation the definition has continued to advance and now has a more developed meaning. Companies today are implementing these continuous delivery principles and best practices. Some well known companies that have this approach include but are not limited to,[12],[citation needed] Facebook,[citation needed] Google,[13] Paddy Power[1] and Wells Fargo.[14]


Several benefits of Continuous Delivery have been reported.[1]

  • Accelerated Time to Market: CD lets an organization deliver the business value inherent in new software releases to customers more quickly. This capability helps the company stay a step ahead of the competition, in today’s competitive economic environment.
  • Building the Right Product: Frequent releases let the application development teams obtain user feedback more quickly. This lets them work on only the useful features. If they find that a feature isn’t useful, they spend no further effort on it. This helps them build the right product.
  • Improved Productivity and Efficiency: Significant time savings for developers, testers, operations engineers, etc. through automation.
  • Reliable Releases: The risks associated with a release have significantly decreased, and the release process has become more reliable. With CD, the deployment process and scripts are tested repeatedly before deployment to production. So, most errors in the deployment process and scripts have already been discovered. With more frequent releases, the number of code changes in each release decreases. This makes finding and fixing any problems that do occur easier, reducing the time in which they have an impact.
  • Improved Product Quality: The number of open bugs and production incidents has decreased significantly.
  • Improved Customer Satisfaction: A higher level of customer satisfaction is achieved.

See also[edit]

Further reading[edit]

  • Humble, Jez; Farley, David (2010). Continuous Delivery: Reliable Software Releases Through Build, Test and Deployment Automation. Addison-Wesley. ISBN 978-0-321-60191-9. 


  1. ^ a b c Chen, Lianping (2015). "Continuous Delivery: Huge Benefits, but Challenges Too". IEEE Software 32 (2): 50. doi:10.1109/MS.2015.27. 
  2. ^ Hammond, Jeffrey (9 September 2011). "The Relationship between DevOps and Continuous Deliver". Forrester Research (Forester). 
  3. ^ a b Humble, Jez; Farley, David (2011). Continuous Delivery: reliable software releases through build, test, and deployment automation. Pearson Education Inc. ISBN 978-0-321-60191-9. 
  4. ^ Swartout, Paul (2012). Continuous Delivery and DevOps: A Quickstart guide. Packt Publishing. ISBN 978-1849693684. 
  5. ^ "bliki: ContinuousDelivery". Retrieved 2015-10-29. 
  6. ^ Jez Humble, Chris Read, Dan North (2006). "The Deployment Production Line". IEEE Computer Society. Proceedings of Agile 2006. 
  7. ^ Fitzgerald, Brian (2014-06-03). Continuous Software Engineering and Beyond: Trends and Challenges (PDF). 1st International Workshop on Rapid Continuous Software Engineering. New York, NY: Association for Computing Machinery. pp. 1–9. doi:10.1145/2593812.2593813. ISBN 978-1-4503-2856-2. Retrieved 2014-10-24. 
  8. ^ Kluge, Lars (12 September 2013). "Continuous Deployment with MongoDB at Kitchensurfing". Retrieved 3 January 2014. 
  9. ^ Duvall, Paul (2012). "Continuous Delivery: Patterns and Anti-Patterns in Software Lifecycle" (PDF). Refcardz. Retrieved October 9, 2015. 
  10. ^ Phillips, Andrew (29 July 2014). "The Continuous Delivery Pipeline – What it is and Why it's so important in Developing Software". Retrieved October 9, 2015. 
  11. ^ Binstock, Andrew (16 September 2014). "Continuous Delivery: The Agile SUccessor". Dr. Dobb's The world of software Development (San Francisco: UBM). 
  12. ^ "Implementing Continuous Delivery at Yahoo!". 23 October 2013. 
  13. ^ Humble, Jez (13 February 2014). "The Case for Continuous Delivery". Retrieved 16 July 2014. 
  14. ^ jFrog (December 2014). "2014-year-continuous-integration-revolution". 

External links[edit]