Daily routine with continuous integration

This post was originally published here.

I chuckled quite a bit after reading the Top 5 Signs of Discontinuous Integration, though I think “dysfunctional integration” is a better word.  So what’s my routine?

Start of the day

  1. Check if build is green
  2. Get latest if it is
  3. Fix build if it isn’t


  1. Code/write tests
  2. Run local build, make sure code compiles and tests pass
  3. Get latest
  4. Run local build again
  5. Check in, with decent comments
  6. Wait for CI build to finish
  7. If build is red, drop everything and fix
  8. Otherwise, go back to step 1

I’ll get latest several times per day.  The more often I integrate (the “continuous” part), the easier it is do so.  If you’re scared to get latest version when the build is green, you probably have some dysfunctional integration issues.  If you don’t know what “the build is green” means, well, that’s a whole other ball of wax.

About Jimmy Bogard

I'm a technical architect with Headspring in Austin, TX. I focus on DDD, distributed systems, and any other acronym-centric design/architecture/methodology. I created AutoMapper and am a co-author of the ASP.NET MVC in Action books.
This entry was posted in Agile. Bookmark the permalink. Follow any comments here with the RSS feed for this post.