DCSIMG
June 2009 - Posts - Eran Ruso
Sign in | Join | Help

June 2009 - Posts

What Is A Good Build Machine?

פורסם בתאריך Jun 30 2009, 10:52 AM על ידי Eran Ruso

When I come to work with customers on builds first I ask where the build machine is.

Most chances that I will get one of the following three answers:

  1. It is on my Team System server.
  2. It is on my computer.
  3. It is on one of the developers computer.

All three situations are wrong when it comes to build machines.

What is a good build machine and where to install it?

My opinion is to put it on a “clean” computer that has no more then the minimum that is required for the compilation of the application and for running all the required tests.

The required tests are first all the Unit Tests made for the target application, in addition to that a team can require that more tests for example “Sanity Tests” will be executed as well.

So what is the minimum that is required for this “clean” computer?

The minimum is all the applications, DLLs, Compilers etc. when it comes to software and the minimum hardware that is required for the compilation.
When it comes to tests you will need to have the “Test Engine” installed on the build machine too.

It is important to keep the build machine has clean as possible, so when the build fails you will know that the cause doesn’t lies in something that is installed on the computer.

Back to the answers I get, it is now obvious why all three situations are wrong, all three situations are build machines that runs on a computer with a different purpose.
The first one is a server that runs the TFS and all its additions, and the other two are development computers.

What do you think?

Have Fun!!!

Error: TFS55030 When Running RenameDT Command

פורסם בתאריך Jun 29 2009, 03:40 PM על ידי Eran Ruso

“ERROR: TF55030: Rename Data Tier failed.  Please verify that the supplied Data Tier name is a valid Team Foundation Data Tier name, that the Data Tier can be accessed on the network and that you have administrative rights.”

Most chances that the problem is because you have shutdown your old TFS.

In order to fix the problem just load your old TFS and rerun the command.

In case that doesn’t help run the following command line:

Set TfsDetailedErrors=1

Rerun the RenameDT command, now you will get more details on the error so you can troubleshot the problem.

Have Fun!!!

How To Create A Branch In Team System 2008

פורסם בתאריך Jun 28 2009, 03:05 PM על ידי Eran Ruso

Before I start with the how to create a branch step by step guide, I like to remind that creating a branch should be done by a SCM (Software Configuration Management) plan and not when ever you “feel” like creating a branch. It is very important to manage your branches or else you will have a big pile of branches that no one knows there purpose.

After saying that here is the step by step guide:

The demonstration will be for a demo project called "Web Sites".

Step 1: Right click the source folder that is candidate for Branch.

Step 2: Choose the Branch option

clip_image002

Step 3: Change the "Target" field to contain the Source Control path for the new branch.
By the SCM (Software Configuration Management) plan of this demo the path should contain the version number of the branch and it should be located in the "Test" folder.

Step 4: Make sure that the "Branch from version" field shows "Latest Version" in order to "branch" from the latest available version of code.

Step 5: Click the "OK" button.

clip_image004

Note: The “Create local working copies for the new branch” checkbox is optional, if checked it will automatically creates a new folder for the branch locally.

Step 6: Now you have the branch ready in the "Test" folder with the name "3.0 Web Sites" but it is a local copy and will not be shown by other users until you will check in the changes. Right Click the new Branch and choose the "Check In Pending Changes…" option.

clip_image006

Step 7: Add your comment and click the "Check-In" button

That is all, you have a new branch.

Have Fun!!!

Hello World!!!

פורסם בתאריך Jun 25 2009, 08:11 AM על ידי Eran Ruso

Hi Everybody,

It is a little weird for me to write an Hello World post because of the fact that I am writing posts to SRL Blog for a year now.

Who will be interested in my blog posts?

Well the audience for my blog is wide and varied, it will be useful for developers, testers, Team Leaders, project managers, QA Managers, Development Managers and more.

In short everyone that deals with software development and testing.

So far my posts have been read by thousands of people from all over the world, in my new blog I hope to keep you interested and to contribute a little to your knowledge.

So…

Have Fun!!!