Welcome to MSDN Blogs Sign in | Join | Help

VSTS Team Build To Get Specific Version To Build

To select a specific changesets or labels to build, modify the TFSBuild.proj XML file. Use the GetVersion property - this is for VSTS 2008

  <PropertyGroup>

      <GetVersion>Cxxxx</GetVersion>

  </PropertyGroup>

You can put this anywhere within the <Property> tag in the file.

The syntax of the version (changeset or labels or etc):

Date/time (D10/20/2005)
    Changeset version (C1256)
    Label (Lmylabel)
    Latest version (T)
    Workspace version (Wworkspacename;owner)
         by default, it is ‘T’, get latest sources.

You can use the GUI to specify a specific branch of a solution in the version control. However, of that branch, it will always build the latest. This is the essence of continuous integrated build. If you do regular builds, you do not need to build previous versions.

y1pWEvMK1wfF4Ang0H8E7R_NMts8YlDkIXPFLTKHbUbx6Hw8zcu9q5U-Box0oJDfepm

Published Thursday, June 12, 2008 11:28 AM by hakteng

Comments

No Comments
Anonymous comments are disabled
 
Page view tracker