Continuous Integration (CI): Automatically building and testing the code every time someone pushes changes or opens a pull request, so problems are caught early, before they reach other people.

Example

You open a pull request. The CI pipeline compiles the code and runs the tests, and one test fails because your change broke the discount calculation. You fix it before anyone reviews your code.

How CI Works

  1. A developer pushes code or opens a pull request.
  2. The CI server checks out the code and builds it.
  3. It runs automated tests and quality checks.
  4. It reports pass or fail on the pull request.
  5. Many teams block merging until CI passes.

When the Build Breaks

A failing build on the main branch blocks the whole team. If your change broke it, fixing it is your top priority. Read the pipeline log, find the failing step or test, and fix it or revert your change. Never ignore a red build.

Good CI Habits

  • Run tests locally before pushing.
  • Push small changes often, so failures are easy to trace.
  • Add tests with every feature, so CI actually protects it.
  • Don't disable a failing test to get your change through; ask first.

Common CI tools include GitHub Actions, Jenkins, GitLab CI, and Azure DevOps Pipelines. See CI/CD for the full pipeline.

Related terms

Previous term: Continuous Deployment (CD)  |  Next term: CRUD

Related guides

Frequently asked questions

What is continuous integration?

Continuous integration is automatically building and testing code every time changes are pushed, to catch problems early.

What is a broken build?

A build where compilation or tests fail. On a shared branch, it should be fixed immediately.

Which tools are used for CI?

GitHub Actions, Jenkins, GitLab CI, Azure DevOps Pipelines, and CircleCI are common.

Can I add CI to my personal project?

Yes. A simple GitHub Actions workflow that runs your tests is easy to set up and impresses interviewers.

Explore more internship terms

The IT Internship Glossary explains 199 terms you will hear before and during your internship, with simple definitions and real examples.

Browse all 199 terms
Dhaivat Ajwaliya

About the author

Dhaivat Ajwaliya

Dhaivat has 16+ years of experience in the IT industry, working on AI and cloud technologies, project delivery, and engineering leadership. He has interviewed and mentored many interns, wrote The Lost Intern, and runs the non-commercial Career Impact Initiative, mentoring students for free.