InterviewSolution
| 1. |
What is Continuous Integration (CI), what are its benefits? |
|
Answer» Continuous Integration is a technique which regulates the development process by automating the BUILD and testing code on every commit made to the version control. Continuous Integration makes sure that NEW changes do not have any adverse effect on the build and existing functionality is not affected. In the case of a failed scenario, everyone including the one responsible for the changes will know about the FAILURE without delay. With this timely reporting, developers find fair time to fix the issues and get prompt feedback. Continuous Integration encourages best practices amongst developers by allowing them to merge their changes with other's code before checking into a shared repository. On time code integration eliminates changes of conflicts, duplication of functionality. CI suggests using a version control system that supports Git workflows for intelligent branching. CI proposes having the main BRANCH that keeps the stable code that can be used to deliver build at any time. At the same time developer can create transient features branches to start his work without interrupting others. Developers need to sync his code with Main Branch at regular intervals. On feature-complete, a developer should merge his code into the main branch after verification |
|