• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Continues Integration
 

Continues Integration

on

  • 1,656 views

A presentation on continues integrations

A presentation on continues integrations

Statistics

Views

Total Views
1,656
Views on SlideShare
1,655
Embed Views
1

Actions

Likes
0
Downloads
29
Comments
0

1 Embed 1

http://www.linkedin.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Continues Integration Continues Integration Presentation Transcript

    • Continues Integration Johan Aludden Twitter: johanaludden Mail: me@johanaludden.com Blog: johanaludden.com/weblog
    • What is Continues Integration? • Compile continuously • Test continuously • Prepare installation continuously • Measure quality continuously • Create documentation continuously 2
    • Components • Developers • Version Control Repository • CI server • Build script • Feedback • Integration Build Machine 3
    • Developers • Makes Changes to code • Runs a private Build • Commits changes 4
    • Version Control Repository • Central point of truth • Good Practice • History • CVS, SVN, Perforce, Git 5
    • CI server • Checks for changes • Retrieves changes • Runs build script(s) • Dashboard 6
    • Build Script • Automated • Complete • Launched from Command line 7
    • Feedback • Email • Instant messaging • SMS • RSS • Sounds • Monitor 8
    • Integration Build Machine • Dedicated • The reference 9
    • Benefits • Risk reduction • Less repetition • Generate Deployable Software • Increase Visibility • More Confidence 10
    • Excuses • Increasing maintenance • Too much change • Frequently failed builds • Additional cost • Should already be made 11
    • First steps • Centralized repository • Compile code • Package binaries • Add testing • Add inspections 12
    • Common Problems • Long build time • Frequently failed builds • To much information • Many target platforms 13
    • Long build time • Make it faster • Split and run in Parallell • Split and run in Sequence 14
    • Frequently failed builds • Are all committed? • Can the devs run on local machine? • Code to fragile? • Tests to fragile? 15
    • To much information • Is all information necessary • What information can be removed • Multiple source of information • Pull not push • Visualize information 16
    • Many target platforms • One CI server per platform • Compile code • Package binaries 17
    • Pipelines • Jobs – Runs in Parallell • Stages – Runs in sequence – contains 1 or more jobs 18
    • Pipeline 19
    • Pipeline Stage 19
    • Pipeline Stage Job Job 19
    • Pipeline Stage Stage Job Job Job Job 19
    • Pipeline Stage Stage Stage Job Job Job Job Job 19
    • Pipeline Stage Stage Stage Job Job Job Job Job 19
    • Pipeline Stage Stage Stage Job Job Job Job Job 19
    • Pipeline Stage Stage Stage Job Job Job Job Job 19
    • Pipeline Stage Stage Stage Job Job Job Job Job 19
    • Pipeline Stage Stage Stage Job Job Job Job Job 19
    • Pipeline Stage Stage Stage Job Job Job Job Job 19
    • Pipeline Stage Stage Stage Job Job Job Job Job 19
    • Pipeline Stage Stage Stage Job Job Job Job Job 19
    • Pipeline Stage Stage Stage Job Job Job Job Job 19
    • Pipeline Stage Stage Stage Job Job Job Job Job 20
    • Pipeline Stage Stage Stage Job Job Job Job Job 20
    • Pipeline Stage Stage Stage Job Job Job Job Job 20
    • Pipeline Stage Stage Stage Job Job Job Job Job 20
    • Pipeline Stage Stage Stage Job Job Job Job Job 20
    • Pipeline Stage Stage Stage Job Job Job Job Job 20
    • Pipeline Stage Stage Stage Job Job Job Job Job 20
    • Pipeline Stage Stage Stage Job Job Job Job Job 20
    • Pipeline Stage Stage Stage Job Job Job Job Job 20
    • CI servers • CruiseControl • Hudson • Cruise • Bamboo 21
    • Links • Martin Fowler (http://martinfowler.com/articles/continuousIntegration.html) • Book (http://www.amazon.com/Continuous-Integration-Improving-Software- Reducing/dp/0321336380) • CruiseControl (http://cruisecontrol.sourceforge.net/) • Hudson (https://hudson.dev.java.net/) • WikiPedia (http://en.wikipedia.org/wiki/Continuous_integration/) 22
    • Questions? 23