Continuous Integration - Principles of Continuous Integration

Principles of Continuous Integration

Continuous integration – the practice of frequently integrating one's new or changed code with the existing code repository – should occur frequently enough that no intervening window remains between commit and build, and such that no errors can arise without developers noticing them and correcting them immediately. Normal practice is to trigger these builds by every commit to a repository, rather than a periodically scheduled build. The practicalities of doing this in a multi-developer environment of rapid commits are such that it's usual to trigger a short timer after each commit, then to start a build when either this timer expires, or after a rather longer interval since the last build. Automated tools such as CruiseControl, Jenkins, Hudson, Bamboo, BuildMaster, AnthillPro or Teamcity offer this scheduling automatically.

Another factor is the need for a version control system that supports atomic commits, i.e. all of a developer's changes may be seen as a single commit operation. There is no point in trying to build from only half of the changed files.

To achieve these objectives, continuous integration relies on the following principles.

Read more about this topic:  Continuous Integration

Famous quotes containing the words principles of, principles, continuous and/or integration:

    ...at this stage in the advancement of women the best policy for them is not to talk much about the abstract principles of women’s rights but to do good work in any job they get, better work if possible than their male colleagues.
    Virginia Crocheron Gildersleeve (1877–1965)

    ...at this stage in the advancement of women the best policy for them is not to talk much about the abstract principles of women’s rights but to do good work in any job they get, better work if possible than their male colleagues.
    Virginia Crocheron Gildersleeve (1877–1965)

    The habit of common and continuous speech is a symptom of mental deficiency. It proceeds from not knowing what is going on in other people’s minds.
    Walter Bagehot (1826–1877)

    Look back, to slavery, to suffrage, to integration and one thing is clear. Fashions in bigotry come and go. The right thing lasts.
    Anna Quindlen (b. 1952)