Continuous Integration:
Blueprint, Toolbox, Master Craft

Rockville .NET User Group (@RockNUG)
November 2013 Meeting

Step...
Live Tweet, Slides and Examples
• Twitter: @RuthlessHelp
• Slides:
http://www.slideshare.net/ruthlesshelp
• Code Samples:
...
The Problem
1

Scott makes changes

2

Susan makes changes

3

You can’t build

Source
Code
1

3

Scott’s
Computer

Stephe...
What Went Wrong?

Conflicts
Missing Files
Breaking Changes
Stephen D. Ritchie

4
How do you
find
integration
issues?
Stephen D. Ritchie

5
Manual Integration

Build
Run Some Unit Tests
Perform Static Analysis
Clean + Rebuild All
Stephen D. Ritchie

6
Continuous Integration Blueprint

Stephen D. Ritchie

7
CI Server

Source
Code

Scott’s
Computer

Stephen D. Ritchie

CI
Server

Susan’s
Computer

You

8
CI Server

Triggered by SCM
and

Stephen D. Ritchie

9
CI – Per Commit Steps

1. Clean + Rebuild All
2. Run All Unit Tests
3. Analysis
Static Code Analysis
Coding Standards
Step...
Continuous Integration Toolbox

Stephen D. Ritchie

11
CI Server – Jenkins

http://jenkins-ci.org/

Free
Open Source
Stephen D. Ritchie

12
CI Server – Cruise Control
http://cruisecontrol.sourceforge.net/

http://www.cruisecontrolnet.org/

Free
Open Source
Steph...
CI Server – TeamCity

http://www.jetbrains.com/teamcity/

Commercial
Easy to Use
Stephen D. Ritchie

14
Perhaps an
example would
be helpful
Stephen D. Ritchie

15
Continuous Integration Master Craft

Stephen D. Ritchie

16
The Master Craft

Unit Testing
Plus

Code Coverage
Stephen D. Ritchie

17
The Master Craft

System Testing
Integration Testing
Acceptance Testing
Stephen D. Ritchie

18
The Master Craft

Code Quality
Visualizations
Checks
Metrics
Detections
Stephen D. Ritchie

Analysis

19
The Master Craft

Reporting
And

Visibility
Stephen D. Ritchie

20
The Master Craft

Packaging
And

Deployment
Stephen D. Ritchie

21
Stephen’s Contact Info
• Email:
stephen.ritchie@excella.com
• LinkedIn:
http://www.linkedin.com/in/sritchie

Stephen D. Ri...
Upcoming SlideShare
Loading in …5
×

Continuous Integration: Blueprint, Toolbox, Master Craft

843 views

Published on

Continuous Integration: Blueprint, Toolbox, Master Craft

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
843
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
9
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Continuous Integration: Blueprint, Toolbox, Master Craft

  1. 1. Continuous Integration: Blueprint, Toolbox, Master Craft Rockville .NET User Group (@RockNUG) November 2013 Meeting Stephen D. Ritchie @RuthlessHelp Nov 13, 2013 Stephen D. Ritchie – Managing Consultant – Excella Consulting, Inc., 2300 Wilson Blvd, Suite 630, Arlington, VA 22201 – 703.840.8600 – http://excella.com
  2. 2. Live Tweet, Slides and Examples • Twitter: @RuthlessHelp • Slides: http://www.slideshare.net/ruthlesshelp • Code Samples: http://github.com/ruthlesshelp Stephen D. Ritchie 2
  3. 3. The Problem 1 Scott makes changes 2 Susan makes changes 3 You can’t build Source Code 1 3 Scott’s Computer Stephen D. Ritchie You 3 2 Susan’s Computer
  4. 4. What Went Wrong? Conflicts Missing Files Breaking Changes Stephen D. Ritchie 4
  5. 5. How do you find integration issues? Stephen D. Ritchie 5
  6. 6. Manual Integration Build Run Some Unit Tests Perform Static Analysis Clean + Rebuild All Stephen D. Ritchie 6
  7. 7. Continuous Integration Blueprint Stephen D. Ritchie 7
  8. 8. CI Server Source Code Scott’s Computer Stephen D. Ritchie CI Server Susan’s Computer You 8
  9. 9. CI Server Triggered by SCM and Stephen D. Ritchie 9
  10. 10. CI – Per Commit Steps 1. Clean + Rebuild All 2. Run All Unit Tests 3. Analysis Static Code Analysis Coding Standards Stephen D. Ritchie 10
  11. 11. Continuous Integration Toolbox Stephen D. Ritchie 11
  12. 12. CI Server – Jenkins http://jenkins-ci.org/ Free Open Source Stephen D. Ritchie 12
  13. 13. CI Server – Cruise Control http://cruisecontrol.sourceforge.net/ http://www.cruisecontrolnet.org/ Free Open Source Stephen D. Ritchie 13
  14. 14. CI Server – TeamCity http://www.jetbrains.com/teamcity/ Commercial Easy to Use Stephen D. Ritchie 14
  15. 15. Perhaps an example would be helpful Stephen D. Ritchie 15
  16. 16. Continuous Integration Master Craft Stephen D. Ritchie 16
  17. 17. The Master Craft Unit Testing Plus Code Coverage Stephen D. Ritchie 17
  18. 18. The Master Craft System Testing Integration Testing Acceptance Testing Stephen D. Ritchie 18
  19. 19. The Master Craft Code Quality Visualizations Checks Metrics Detections Stephen D. Ritchie Analysis 19
  20. 20. The Master Craft Reporting And Visibility Stephen D. Ritchie 20
  21. 21. The Master Craft Packaging And Deployment Stephen D. Ritchie 21
  22. 22. Stephen’s Contact Info • Email: stephen.ritchie@excella.com • LinkedIn: http://www.linkedin.com/in/sritchie Stephen D. Ritchie 22

×