Continuous integration - main principles
-
Upload
lena-petsenchuk -
Category
Software
-
view
127 -
download
2
description
Transcript of Continuous integration - main principles
Lena Petsenchuk23.04.2013
Continuous Integration
Agenda
Overview of
CI
Principles of
CI
Advantages
&
Disadvantages
of CI
Continuous Integration???
CI Proccess
Integrated machine
notifynotify
check outcheck out
check outcheck out monitor
monitor
check incheck 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