Continuous Integration (CI) वह प्रथा है जिसमें developers अपने code को एक shared repository में बार-बार merge करते हैं, जहां प्रत्येक integration को स्वचालित रूप से सत्यापित (build और test) किया जाता है। यह समस्याओं को जल्दी पकड़ता है और codebase को स्वस्थ, कार्यशील स्थिति में रखता है।
मुख्य प्रथा
Developers integrate code FREQUENTLY (at least daily) into the shared/main branch:
→ each integration is AUTOMATICALLY built and tested (by a CI server/pipeline)
→ problems are caught IMMEDIATELY (on each small change, not after weeks)
→ vs the old way: developers work in isolation for long periods → painful "integration
hell" when finally merging diverged work (many conflicts, surprises, bugs).
