Download presentation
Presentation is loading. Please wait.
Published byScot Freeman Modified over 8 years ago
1
Build automation
2
Prerequisites for Continuous Integration (CI) Version Control System Build automation Notification on build result sent to related team members
3
Basic CI Process 2. Codes committed to version control system 1. Developers write codes 3. CI System identifies change 4. Build automation triggered 5. Success or failure notifies team members
4
Build Not just compiling and linking Running testing script Build automation includes: Traditional build Testing Deployment and document creation (optional)
5
Build (Cont’d) Trigger Ideally whenever the source code is committed, software project starts to be built and tested Frequent testing helps expose problems
6
Build (Cont’d)
10
Integrate CI with ICSM
11
Activities Prototyping: finding risks Development: exposing bugs Transitioning: simulating real deployment environment
12
Defect of CI Broken build automation Testing activities so large: long time to finish
13
Strategy Ensure to run unit-test before committing code Encourage smaller increments of work being committed more often Build pipeline – multi-stage build (Martin Fowler) Basic functional test in the day time Large volume of testing in the night
14
CI tools Hudson, Jenkins, CruiseControl, etc. Building tools: maven, ant
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.