Continuous Integration (CI)

Continuous Integration is the practice of frequently merging code changes into a shared branch, where an automated system builds and tests them. It catches integration bugs early, while they are easy to fix.

Git & DevOps

Instead of letting branches drift apart for weeks, developers integrate small changes often — sometimes many times a day. Each integration triggers an automated build and test run.

CI gives fast feedback: if a change breaks the build or a test, the team finds out within minutes rather than at release time. It is the first half of CI/CD.

Examples

Bash

# A CI step that fails the build if tests fail
npm run lint
npm test

Output:

Tests:  18 passed, 18 total
Lint:   0 problems

See also

Back to the Dictionary