In the past, developers on a team might work in isolation for an extended period of time and only merge their changes to the master branch once their work was completed. This made merging code changes difficult and time-consuming, and also resulted in bugs accumulating for a long time without correction. These factors made it harder to deliver updates to customers quickly.","itemMediaAltText":"Missing alt text value"},"metadata":{"tags":[]}},{"fields":{"patternHeading":"Why is Continuous Integration Needed?","patternBoolean2":"false","id":"ams#long-form-contentc2#pattern-data"},"metadata":{"tags":[{"name":"pattern-data","description":"Default pattern data","id":"ams#long-form-contentc2#pattern-data","namespaceId":"long-form-content"}]}}]},"metadata":{"auth":{},"testAttributes":{}},"context":{"page":{},"contentType":null,"environment":{"stage":"prod","region":"us-west-2"},"sdkVersion":"2.0.9"},"refMap":{"manifest.js":"3081bcaae1","rt-long-form-content.rtl.css":"0f8f9f4b6a","rt-long-form-content.js":"2ca0aa42ce","rt-long-form-content.css":"4ad36121e7","rt-long-form-content.css.js":"d3ac381808","rt-long-form-content.rtl.css.js":"8229b060e0"},"settings":{"templateMappings":{"dark":"patternBoolean2","patternHeading":"patternHeading","patternSubheading":"patternSubheading","heading":"itemHeading","mediaAltText":"itemMediaAltText","mediaUrl":"itemMediaURL","hyperlinkText":"itemCTALabel","hyperlinkUrl":"itemCTAURL","bodyContent":"itemLongLoc","videoThumbnailUrl":"itemMediaURL2","videoOverlayTitle":"itemMediaAltText2","videoPlayButtonText":"itemTextLoc2"}}}
Why is Continuous Integration Needed?
How does Continuous Integration Work?
With continuous integration, developers frequently commit to a shared repository using a version control system such as Git. Prior to each commit, developers may choose to run local unit tests on their code as an extra verification layer before integrating. A continuous integration service automatically builds and runs unit tests on the new code changes to immediately surface any errors.
Continuous integration refers to the build and unit testing stages of the software release process. Every revision that is committed triggers an automated build and test.
With continuous delivery, code changes are automatically built, tested, and prepared for a release to production. Continuous delivery expands upon continuous integration by deploying all code changes to a testing environment and/or a production environment after the build stage.
