Presentation is loading. Please wait.

Presentation is loading. Please wait.

Build automation. Prerequisites for Continuous Integration (CI)  Version Control System  Build automation  Notification on build result sent to related.

Similar presentations


Presentation on theme: "Build automation. Prerequisites for Continuous Integration (CI)  Version Control System  Build automation  Notification on build result sent to related."— Presentation transcript:

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)

7

8

9

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


Download ppt "Build automation. Prerequisites for Continuous Integration (CI)  Version Control System  Build automation  Notification on build result sent to related."

Similar presentations


Ads by Google