System Integration and Build Management Christian Schröder Roman Antonov.
-
Upload
jewel-gray -
Category
Documents
-
view
213 -
download
0
Transcript of System Integration and Build Management Christian Schröder Roman Antonov.
![Page 1: System Integration and Build Management Christian Schröder Roman Antonov.](https://reader036.fdocuments.us/reader036/viewer/2022082817/56649d9d5503460f94a8788d/html5/thumbnails/1.jpg)
System Integration andBuild Management
Christian Schröder
Roman Antonov
![Page 2: System Integration and Build Management Christian Schröder Roman Antonov.](https://reader036.fdocuments.us/reader036/viewer/2022082817/56649d9d5503460f94a8788d/html5/thumbnails/2.jpg)
Outline
Continuous IntegrationContinuous BuildsContinuous TestsTools
![Page 3: System Integration and Build Management Christian Schröder Roman Antonov.](https://reader036.fdocuments.us/reader036/viewer/2022082817/56649d9d5503460f94a8788d/html5/thumbnails/3.jpg)
Continuous Integration
![Page 4: System Integration and Build Management Christian Schröder Roman Antonov.](https://reader036.fdocuments.us/reader036/viewer/2022082817/56649d9d5503460f94a8788d/html5/thumbnails/4.jpg)
Continuous Integration
“Traditional” Integration methodsIntegration before the end of iteration
Weekly integration
“Big Bang” IntegrationToo many bugs and too little time to fix them
![Page 5: System Integration and Build Management Christian Schröder Roman Antonov.](https://reader036.fdocuments.us/reader036/viewer/2022082817/56649d9d5503460f94a8788d/html5/thumbnails/5.jpg)
Continuous Integration
CI principlesIntegrate more often:
Daily, HourlyIntegrate continuously:After every completion of a task
![Page 6: System Integration and Build Management Christian Schröder Roman Antonov.](https://reader036.fdocuments.us/reader036/viewer/2022082817/56649d9d5503460f94a8788d/html5/thumbnails/6.jpg)
Continuous Integration
AdvantagesIntegration becomes trivial if you integrate small and simple tasks
Developers get a better overview of the system and its architecture
In turn, integration becomes easier
![Page 7: System Integration and Build Management Christian Schröder Roman Antonov.](https://reader036.fdocuments.us/reader036/viewer/2022082817/56649d9d5503460f94a8788d/html5/thumbnails/7.jpg)
Continuous Builds
![Page 8: System Integration and Build Management Christian Schröder Roman Antonov.](https://reader036.fdocuments.us/reader036/viewer/2022082817/56649d9d5503460f94a8788d/html5/thumbnails/8.jpg)
Continuous Builds
CB principlesBuild your changes locally before checking in
If it doesn’t compile, don’t check it in
Build the entire system “from scratch” on a dedicated build server
![Page 9: System Integration and Build Management Christian Schröder Roman Antonov.](https://reader036.fdocuments.us/reader036/viewer/2022082817/56649d9d5503460f94a8788d/html5/thumbnails/9.jpg)
Continuous Builds
AdvantagesReduces the problems with files that aren’t checked in
Reduces problems with debug and release versions
In a integrated and stable stage builds can serve as demo-versions
![Page 10: System Integration and Build Management Christian Schröder Roman Antonov.](https://reader036.fdocuments.us/reader036/viewer/2022082817/56649d9d5503460f94a8788d/html5/thumbnails/10.jpg)
Continuous Tests
![Page 11: System Integration and Build Management Christian Schröder Roman Antonov.](https://reader036.fdocuments.us/reader036/viewer/2022082817/56649d9d5503460f94a8788d/html5/thumbnails/11.jpg)
Continuous Tests
CT principlesTest your changes locally before checking in
If it doesn’t pass the tests at 100%, don’t check it in
Start the system and run the full test-suite
![Page 12: System Integration and Build Management Christian Schröder Roman Antonov.](https://reader036.fdocuments.us/reader036/viewer/2022082817/56649d9d5503460f94a8788d/html5/thumbnails/12.jpg)
Continuous Tests
AdvantagesReduces bugsIncreases the chance to have a running system at every time
![Page 13: System Integration and Build Management Christian Schröder Roman Antonov.](https://reader036.fdocuments.us/reader036/viewer/2022082817/56649d9d5503460f94a8788d/html5/thumbnails/13.jpg)
Continuous Tools
![Page 14: System Integration and Build Management Christian Schröder Roman Antonov.](https://reader036.fdocuments.us/reader036/viewer/2022082817/56649d9d5503460f94a8788d/html5/thumbnails/14.jpg)
Build Tools
Cruise ControlAnt
Pure build tool
MavenA lot functionality “out of the box”
MSBuild Engine
![Page 15: System Integration and Build Management Christian Schröder Roman Antonov.](https://reader036.fdocuments.us/reader036/viewer/2022082817/56649d9d5503460f94a8788d/html5/thumbnails/15.jpg)
Test Tools
MavenRuns xUnit test suites
xUnit Suite of Test Frameworks for several languages (Java, C, C++, Perl, ….)
![Page 16: System Integration and Build Management Christian Schröder Roman Antonov.](https://reader036.fdocuments.us/reader036/viewer/2022082817/56649d9d5503460f94a8788d/html5/thumbnails/16.jpg)
Integration Tools
SubversionCVS