Quantcast
Channel: TFS Check-in Validation Tool
Viewing all articles
Browse latest Browse all 20

New Post: GetVersion Property

$
0
0

The Buddy Build Extensions script actually uses the value of $(GetVersion) in order to resync after unshelving. I think you are having a problem when you clear the value of $(GetVersion) since that would cause the tf command to fail since the command becomes like this "tf get . /version: /recursive /noprompt" which is invalid and results in an error.

BTW, you dit not mention what error message you are getting. I would suggest that if you want to get latest sources, you should probably set $(GetVersion) to "T" rather than clear it.

If you want to confirm what version is the tip version for your build, you can look for the following lines at the top of your BuildLog.txt file:

        CoreGet:
         Get TeamFoundationServerUrl="http://your-tfs-host:8080/" BuildUri="vstfs:///Build/Build/12345" Force=True Overwrite=False PopulateOutput=False Preview=False Recursive=True Version="T" Workspace="build-workspace-name"

         SetBuildProperties TeamFoundationServerUrl="http://your-tfs-host:8080/" BuildUri="vstfs:///Build/Build/12345" CompilationStatus="Unknown" SourceGetVersion="T" Status="0" TestStatus="Unknown"



Look for the value of the Version attribute.


Viewing all articles
Browse latest Browse all 20

Trending Articles