The benefits of Continuous Integration (CI) are as follows:
- CI makes the current build constantly available for testing, demo and release purposes.
- With CI, developers write modular code that works well with frequent code check-ins.
- In case of a unit test failure or bug, a developer can easily revert back to the bug-free state of the code.
- There is a drastic reduction in chaos on release daywithCI practices.
- WithCI, we can detect Integration issues much earlier in the process.
- Automated testing is one very useful side effect ofimplementingCI.
- All the stakeholders including business partners can see the small changes deployed into the pre-production environment. This provides early feedback on the changes to the software.
- Automated CI and testing generate metrics like code coverage and code complexity that help in improving the development process.