Lena Petsenchuk
23.04.2013
Continuous Integration
Agenda
 Overview of CI
 Principles of CI
 Advantages &
Disadvantages of CI
Continuous Integration???
CI Proccess
Integrated machine
notify
notify
check out
check out
check outcheck out
monitormonitor
check in
check in
check incheck in
(commit)
(commit)
CI Principles
CI Principles
 Maintain a code repository
 Automate the build & deployment
CI Principles
 Make the build self-testing
CI Principles
 Everyone commits to the mainline everyday
CI Principles
 Every commit to mainline should be built
CI Principles
 Keep the build fast
CI Principles
 Test in a clone of the production
environment
CI Principles
 Make it easy to get the latest executable
CI Principles
 Everyone can see what’s happening
CI Principles
Advantages of CI
Easy to revert the codebase to a bug-free state
Continuous detection and fixing of integration problems  
Early warning of broken/incompatible code
Early warning of conflicting changes
Immediate unit testing of all changes
Constant availability of a "current" build
Immediate feedback
Developing modular, less complex and high - quality code
Disadvantages of CI
 Initial setup time required
 Well-developed test-suite
required
Conclusion
Questions

Continuous integration - main principles