continuous integration - step by step

11
Continuous Integration Step by Step Wm. Barrett Simms [email protected] @wbsimms

Upload: william-simms

Post on 19-May-2015

350 views

Category:

Technology


1 download

DESCRIPTION

Continuous integration (CI) allows you to check the quality of your project on every developer commit. It's a key part of any Agile environment. We will start with a 5 year old ASP.NET WebPages application and put it under CI with unit testing and other key metrics. The web project, has no modern best practices at all. This talk will demonstrate, step-by-step and line-by-line, adding a project to a continuous integration (CI) server. The end result will be a project with the following: - Automatic build on check-in - Automatic reporting of unit tests - Code duplication reporting - Warning analysis - REM: Automatic database upgrade This will be great if you work with legacy code and feel the CI hurdle is big.

TRANSCRIPT

Page 1: Continuous Integration - Step by Step

Continuous IntegrationStep by Step

Wm. Barrett [email protected]

@wbsimms

Page 2: Continuous Integration - Step by Step

About Me

Software Developer

Agile Team Member

Team Lead

Agile Advocate

SDLC Implementer

Page 3: Continuous Integration - Step by Step

The measurement process

Take ActionIdentify ProblemsMeasure

Page 4: Continuous Integration - Step by Step

SDLC

Page 5: Continuous Integration - Step by Step

What is Continuous Integration?

The practice of merging all developer working copies with a shared mainline several times a day.

Page 6: Continuous Integration - Step by Step

Ingredients• A Server• CI Software• Jenkins, TeamCity, TFS, CruiseControl.NET

• Revision Control• A little patience … or consultant

Page 7: Continuous Integration - Step by Step

What it looks like?

Revision Control

CI ServerDeveloper

Page 8: Continuous Integration - Step by Step

Step 1• You MUST be able to build from the command line

Page 9: Continuous Integration - Step by Step

Step 2• Configure CI

Page 10: Continuous Integration - Step by Step

Step 3• Enjoy.

Page 11: Continuous Integration - Step by Step

Contact MeBarrett [email protected]://wbsimms.comTwitter: @wbsimmsPhone: 781.405.4686