Agile Glossary

Continuous Integration

What is Continuous Integration?

Teams practicing continuous integration seek two objectives:

  • minimize the duration and effort required by each integration episode
  • be able to deliver a product version suitable for release at any moment

In practice, this dual objective requires an integration procedure that is reproducible at the very least, and largely automated. This is achieved through version control tools, team policies and conventions, and tools specifically designed to help achieve continuous integration.

Common Pitfalls

  • As suggested above, the practice of continuous integration should not be confused with the tools that assist it (CI servers such as Cruise Control, Hudson, etc.). Continuous integration is first and foremost a matter of attitude rather than tools, and it relies on more than one kind of tool: tools for testing, tools for automating build processes, and tools for version control.
  • Continuous integration aims to lessen the pain of integration by increasing its frequency. Therefore, “any” effort related to producing intermediate releases, and which the team experiences as particularly burdensome, is a candidate for inclusion in the team’s continuous integration process. (This is the reasoning that leads teams to continuous deployment.)

Origins

  • 1993: the phrase “continuous integration” is already in use and thus predates what will later be known as Agile processes, for instance, an article contrasts it with “scheduled” integration, and recommends the latter, citing “lack of thorough testing” as one issue with continuous integration; this helps explain why the automated testing favored by Agile teams is an enabler for continuous integration
  • 1996: Steve McConnell describes the “Daily Build and Smoke Test” technique, used at Microsoft for Windows NT 3.0 during the 1990s; the emphasis is not so much on the automation as on the frequency, the daily cycle being at that time considered “extreme”
  • 1998: continuous integration is listed among the core practices of Extreme Programming
  • 2000: an article by Martin Fowler provides perhaps the most complete description of the continuous integration practice available at that time
  • 2001: Cruise Control, the first “continuous integration server”, is published under an open source license; it automates the monitoring of the source code repository, triggering the build and test process, notifications of the results to the developers, and archival of the test reports; the period 2001-2007 sees a large number of similar tools appear, leading perhaps to an excessive focus on tools over practice
  • 2004: an article by Alberto Savoia proposes “Extreme Feedback Devices” such as lava lamps or dedicated monitors, to display the results of the most recent integration, an important innovation in CI

Signs of Use

For most teams, continuous integration in practice amounts to the following:

  • use of a version control tool (CVS, SVN, Git, etc.)
  • an automated build and product release process
  • instrumentation of the build process to trigger unit and acceptance tests “every time any change is published to version control”
  • in the event of even a single test failing, alerting the team of a “broken build” so that the team can reach a stable, releasable baseline again soonest
  • optionally, the use of a tool such as a continuous integration server, which automates the process of integration, testing, and reporting of test results

Look for a dedicated display in a prominent spot of the team room: this can be a normal monitor, an LED display, or even a lava lamp, with the sole purpose of reporting on the result of the most recent integration.

Observe also how the team responds to a broken build, suggesting that a defect may have been detected. If the team is aware of defects, but tolerates them or continues working on a product that isn’t in a releasable state, the term continuous integration no longer applies, irrespective of tooling!

Further Reading

Thank you to our Annual Partners​

Join us today!

Agile Alliance offers many online and in-person events and workshops for our members. If you’re not currently a member, you can join now to take advantage of our many members-only resources and programs. LEARN MORE >

Get the latest Agile news!

  • This field is for validation purposes and should be left unchanged.

By subscribing, you acknowledge the Agile Alliance Privacy Policy, and agree to receive our emails.

Additional Agile Glossary Terms

Collective code ownership is the explicit convention that every team member can make changes to any code file as necessary: either to complete a development task, to repair a defect, or to improve the code's overall structure.
A Niko-niko Calendar is updated daily with each team member's mood for that day. Over time the calendar reveals patterns of change in the moods of the team, or of individual members.
Antipatterns are common solutions to common problems where the solution is ineffective and may result in undesired consequences.
The team has the use of a dedicated space for the duration of the project, set apart from other groups' activities.
Lead Time is the time between a customer order and delivery. In software development, it can also be the time between a requirement made and its fulfillment.
An iteration is a timebox during which development takes place. The duration may vary from project to project and is usually fixed.

Help us keep the definitions updated

Ready to join Agile Alliance?

Unlock members-only access to online learning sessions, Agile resources, annual conference discounts, and more! And when you join, you’ll be supporting our member initiatives, regional events, and global community groups.

Privacy Preference Center

IMPORTANT: We have transitioned to a new membership platform. If you have not already done so, you will need to SET UP AN ACCOUNT on the new platform to establish your user profile. Your previous login credentials will not work until you do this set up.

When you see the login screen, choose “Set up Account” and follow the prompts to create your new account. You can choose to log in using your social credentials for either Google or Linkedin (recommended), or you can set up your account using an email address.