Clone a Build Definition

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.

One thought on “Clone a Build Definition”

Leave a Reply

Your email address will not be published. Required fields are marked *


*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>