What is CI? What is its purpose?
- September 12, 2019
- Posted by: DevLabs Alliance
- Category: DevOps
Continuous Integration (CI) is a development practice that requires developers to integrate code into a shared repository, each time they make a commitment.
The CI process:
- Developers check out code into their private workspaces.
- When they are done with it they commit the changes to the shared repository (Version Control Repository).
- The CI server monitors the repository and checks out changes when they occur.
- The CI server then pulls these changes and builds the system and also runs unit and integration tests.
- The CI server will now inform the team about the successful build.
- If the build or tests fail, the CI server will alert the team.
- The team will try to fix the issue at the earliest opportunity.
- This process keeps on repeating.
Hence, Continuous Integration as a practice forces the developer to integrate their changes every time so as to get early feedback.
More DevOps Interview Questions by Devlabs Alliance