BolEnglishLearn · Play · Win
Login

🔁 DevOps & Deployment · Delivery & Deployment

🔁

Continuous Integration (CI)

Delivery PracticeCoreModule 8

Automatically build and test changes frequently.

Catch integration problems before release day.

💡 In practice

A pull request triggers compilation and automated tests.

🖼️ CONCEPT PICTURE
A picture to help remember Continuous Integration (CI)
A pull request triggers compilation and automated tests.

💡 It is like a spell-checker that runs the moment you type: problems get flagged while they are small, not after the whole letter is printed.

💡 Learn🛠️ Apply🎯 Check

💡 Why it matters

When everyone merges small changes often and a robot builds and tests each one, problems surface within minutes while they are still cheap to fix. The alternative, saving up changes for a big merge near release, means many conflicts collide at once under deadline pressure. CI keeps the team honest: the main code is known to build and pass tests at all times.

🛠️ How to achieve it

1
Automate the build
Set up a server to compile the project on every change so a broken build is caught immediately, not days later.
2
Run tests on every change
Hook your automated tests into the pipeline so each merge proves it did not break existing behaviour.
3
Merge small and often
Integrate little changes frequently so conflicts stay tiny instead of piling up into one painful merge.
4
Fix a red build first
Treat a failing pipeline as the team's top priority; stop adding new work until the main line is green again.

⚠️ Signs of trouble

  • •The build is broken for days and nobody rushes to fix it.
  • •Tests are skipped or turned off to make the pipeline pass.
  • •Big scary merges happen only near release day.
  • •"It works on my machine" is a common excuse.
⚠️ Common mistake: Letting the build stay broken while people keep adding changes on top. Instead, make a green build a shared rule and fix a failure before anything else.

🎯 Quick check

Score: 0/3

Three questions to test the idea.

  1. 1. What does Continuous Integration do automatically on each change?

    Answer: Builds and tests the code

    CI compiles and runs automated tests on each change so problems appear early.

  2. 2. Why merge small changes often instead of saving them up?

    Answer: Conflicts stay tiny instead of colliding all at once

    Frequent small merges keep integration problems small and easy to resolve.

  3. 3. The pipeline goes red. What should the team do?

    Answer: Fix the broken build before adding new work

    A green build is a shared safety net; a red one should be the team's immediate priority.

🔑 Key terms

Pipeline
The automated sequence of build and test steps run on each change.
Build
Turning source code into a runnable program.
Automated test
A check that runs by itself to confirm the code still behaves.
Green / red build
Green means everything passed; red means something failed.

✅ Review checklist

📊 Your progress

0%
Mark this topic learned to track it.
Saved in this browser.
🚀 Got it?
Mark it learned and move to the next topic.
Next topic →