blog

Do you know the minimum builds to create on any branch?

Published on
2 minute read

Do you know the minimum builds to create on any branch?

When creating projects one of the only ways that you have of proving that it works and is a viable solution is to build it. This is easy when you only have one developer and that developer will be the only one using a solution. But what if you have 2 developers? How do you prove that one developers code works with the other? The answer is build servers. These build servers take specific code away to another computer and build it there.

Updated 29th March 2010: I was missing an intro for this one.


You should always have three builds on your team project. These should be setup and tested using an empty solution before you write any code at all.

Do you know the minimum builds to create on any branch?

Figure: Three builds named in the format [TeamProject].[AreaPath]_[Branch].[Gate|CI|Nightly] for every branch.

These builds should use the same XAML build workflow; however you may set them up to run a different set of tests depending on the time it takes to run a full build.

Do you know the minimum builds to create on any branch?

Figure: You can control what tests are run and what data is collected while they are running.

Note: We do not run all the tests every time because of the time consuming nature of running some tests, but ALL tests should be run overnight.

Note: If you had a really large project with thousands of tests including long running Load tests you may need to add a Weekly build to the mix.

Do you know the minimum builds to create on any branch?

Figure: Bad example, you can’t tell what these builds do if they are in a larger list

Do you know the minimum builds to create on any branch?

Figure: Good example, you know exactly what project, branch and type of build these are for.

Technorati Tags: SSW    SSW Rules    ALM    TFBS    VS 2010 

blog automated-build ssw tfs-build tools visual-studio vs2010

Connect with Martin Hinshelwood

If you've made it this far, it's worth connecting with our principal consultant and coach, Martin Hinshelwood, for a 30-minute 'ask me anything' call.

Our Happy Clients​

We partner with businesses across diverse industries, including finance, insurance, healthcare, pharmaceuticals, technology, engineering, transportation, hospitality, entertainment, legal, government, and military sectors.​

Epic Games Logo
Philips Logo
Ericson Logo
Qualco Logo

CR2

Emerson Process Management Logo
ProgramUtvikling Logo
Big Data for Humans Logo
Alignment Healthcare Logo
Kongsberg Maritime Logo
Lean SA Logo
Bistech Logo
Cognizant Microsoft Business Group (MBG) Logo
Milliman Logo
Sage Logo
DFDS Logo
ALS Life Sciences Logo
Deliotte Logo
Washington Department of Transport Logo
New Hampshire Supreme Court Logo
Washington Department of Enterprise Services Logo
Ghana Police Service Logo
Nottingham County Council Logo
Department of Work and Pensions (UK) Logo
Alignment Healthcare Logo
Genus Breeding Ltd Logo
Brandes Investment Partners L.P. Logo
Microsoft Logo
YearUp.org Logo
Epic Games Logo