Dave New
Dave New

Reputation: 40002

Source Version 'T' in VSTS build

Occasionally when triggering a new build (for a TFVC repo) the "Source Version" becomes "T" and the build is not picked up by any agent. It remains in the "Waiting for an agent to be requested" state. New builds triggered from then work fine:

VSTS Build Source Version

Nothing happens when browsing to "T".

Does anyone know what this could be?

Upvotes: 4

Views: 1987

Answers (1)

Eddie Chen - MSFT
Eddie Chen - MSFT

Reputation: 29958

This is because someone specified "T" as the "Source Version" when queue the build. enter image description here

When "T" is specified as the source version, the build task will execute "tf get /version:T" command that will get the latest version of your source code. Refer to tf get command for details:

/version:versionspec

Specifies the maximum version, or the minimum and the maximum versions, to display in the history data. The default is /version:T (the latest version).

Upvotes: 1

Related Questions