Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

UpdateBuildNumberDropLocation Task

The UpdateBuildNumberDropLocation updates the build number and drop location in the Team Foundation version control database. This task also creates the drop directory and grants full permissions to all the accounts in the Service Accounts group.

Property

Description

TeamFoundationServerUrl

Specifies the Team Foundation Server URL. For example, http://MyServer:8080.

BuildUri

Specifies the Uniform Resource Identifier (URI) for the build definition.

BuildNumber

Specifies the new build number.

DropLocation

Specifies the new drop location.

The Microsoft.TeamFoundation.Build.targets file contains an instance of the UpdateBuildNumberDropLocation task that Team Foundation Build uses as a default implementation as a part of the InitializeEndToEndIteration target.

Microsoft.TeamFoundation.Build.targets file is stored in the <root>:\Program Files\MSBuild\Microsoft\VisualStudio\TeamBuild folder on the Team Foundation Build computer.

The following example shows the default instance of UpdateBuildNumberDropLocation task defined in the Microsoft.TeamFoundation.Build.targets file.

<UpdateBuildNumberDropLocation
    TeamFoundationServerUrl="$(TeamFoundationServerUrl)"
    BuildUri="$(BuildURI)"
    BuildNumber="$(BuildNumber)"
    DropLocation="$(DropLocation)$(Slash)$(BuildNumber)" />
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.