Branching and CI Builds with Agile

Posted by Bob Horn on Programmers See other posts from Programmers or by Bob Horn
Published on 2012-08-30T01:57:52Z Indexed on 2012/08/30 3:49 UTC
Read the original article Hit count: 309

We follow many agile processes, including automated tests, continuous integration, sprint reviews, etc... We're currently having a debate about how often we should branch release builds.

We've been doing two-week sprints and trying to deploy to production at the end of each sprint. Some of us think we should be branching every sprint. Some of us think that's overkill. If a project encompasses three Visual Studio solutions, and we branch every sprint, then that's three branches, and three CI builds to create every two weeks. If we do this for six months, we'll end up with 36 branches and 36 CI builds. There is overhead involved in that.

For those of us that think that branching every sprint is overkill, we don't have a very good alternative. On my last project, we deployed some solutions from the Main trunk. Yeah, that's not good, but it saved on some of the overhead.

What's the right way to manage branching/releasing and CI builds, using agile, when we have such short (two-week) sprint cycles?

© Programmers or respective owner

Related posts about agile

Related posts about continuous-integration