Mathias Olausson [MVP]

Clone a Build Definition

with one comment

In the September update of the TFS Power Tools a very handy feature for managing TFS build definitions was introduced. This feature saves time and reduces the risk for errors when managing build definitions. To clone a build definition all you need to do is to right-click on the source build definition in the Team Explorer and choose “Clone Build Definition”.

After you have cloned the build definition there are some things that needs to be fixed however:

  1. Clone build definition.
  2. Disable build definition to prevent accidental triggering.
  3. Rename the build definition.
  4. Change workspace mapping to new location (if needed).
  5. Change drop location (if needed).
  6. Change the process to point to the right projects/solutions (if needed).
  7. Enable the build definition.

Screenshots below to illustrate the process:

1. Clone build definition.

image

image

2. Disable build definition to prevent accidental triggering. Rename the build definition.

 image

3. Change workspace mapping to new location (if needed).

image

4. Change drop location (if needed).

image

5. Change the process to point to the right projects/solutions (if needed).

image

6. Enable the build definition.

Written by Mathias Olausson

October 21st, 2010 at 4:41 am

Posted in Uncategorized

One Response to 'Clone a Build Definition'

Subscribe to comments with RSS or TrackBack to 'Clone a Build Definition'.

  1. Hi,

    Could it be done using command Line?

    Thanks in advance

    Peeyush Sodhia

    9742742930

    Peeyush

    18 Nov 10 at 10:06 am

Leave a Reply