DCSIMG
TeamBuild 2008 - SetBuildProperties Task - Maor's Blog

TeamBuild 2008 - SetBuildProperties Task

SetBuildProperties task is one of the new tasks that shipped in Team Build 2008. With this task we can modify properties of a BuildDetail object directly from MSBuild's TfsBuild.proj script.

The SetBuildProperties task is defined in the Microsoft.TeamFoundation.Build.Tasks.VersionControl.dll.

The available properties are:

Property Description
LabelName Specifies the label name.
DropLocation Specifies the drop location. (shared folder to which the build account has read/write privileges)
Quality Specifies the build quality.
TestStatus Specifies the test status. Valid values are Succeeded, Failed, and Unknown.
Status Specifies the build status. Valid values are NotStarted, InProgress, Succeeded, PartiallySucceeded, Failed, and Stopped.
BuildNumber Specifies the build number.
TeamFoundationServerUrl Specifies the Team Foundation Server URL. For example, http://MyServer:8080.
BuildUri Specifies the build URI.
CompilationStatus Specifies the compilation status. Valid values are Succeeded, Failed and Unknown.

Usage:

<SetBuildProperties
    BuildNumber="$(BuildNumber)"
    BuildUri="$(BuildUri)"
    DropLocation="$(DropLocation)" />
Published 01 February 2008 03:13 PM by Maor David-Pur

Comments

# Maor David said on 01 February, 2008 04:23 PM

I wanted to define my default build quality at one of my Team Build Types in TFS 2008 like I did at Team

# Team System News said on 07 February, 2008 06:02 PM

Brian Harry on French and German Team System Web Access have shipped. Charles Sterling on Team Foundation...

# Normal people bore me! said on 17 April, 2008 11:18 PM

Altre modifiche per passare da Team Build 2005 a Team Build 2008

# Maor David said on 17 May, 2008 04:56 PM

Last week it was exactly one year since I started blogging, so this is my blog first birthday!! Come and read about the blog&#39;s statistics, top posts and more.

# Maor David said on 17 May, 2008 04:56 PM

Last week it was exactly one year since I started blogging, so this is my blog first birthday!! Come and read about the blog&#39;s statistics, top posts and more.

Leave a Comment

(required) 
(required) 
(optional)
(required) 

Enter the numbers above:

Search

Go

This Blog

News

    RSS

     

    Connect with Me

    Maor's Facebook profile  Follow Maor on Twitter  Maor's profile on Linkedin  Maor in FriendFeed 
           

Syndication