What is Continuous Integration (CI)?
BeginnerConceptFundamentals and Pipeline Design
Answer
CI is the practice of merging small changes into a shared branch frequently (at least daily) and having an automated system build and test every change. The goal is to find integration problems within minutes instead of at the end of a sprint.
A CI run typically does: checkout, restore dependencies, compile, run unit tests, lint, and publish a build result. If it fails, fixing it becomes the team's top priority, because a red main branch blocks everybody.
More on Fundamentals and Pipeline Design
What is the difference between Continuous Delivery and Continuous Deployment?IntermediateWhat is a CI/CD pipeline and what are its stages?BeginnerWhy should a pipeline "fail fast", and how do you order stages to achieve it?IntermediateWhat makes a build reproducible, and why does it matter?AdvancedHow does your branching strategy affect CI? Compare trunk-based development with GitFlow.IntermediateWhat is a build artifact?Beginner