Find TFS Build Request by ID

In TFS every requested build has a Request ID, for example:

build request id

Is it possible in Visual Studio 2015 (or in TFS Web Browser) to query build requests by ID?

Upvotes: 2

Views: 356

Answers (1)

PatrickLu-MSFT
PatrickLu-MSFT

Reputation: 51183

According to your description, seems you are talking about the request ID which build history "View Summary" tab shows.

It's not able to directly query this through Visual Studio or Web Portal.

However, you could use client API to fetch this. On the BuildDetail object: BuildDetail.RequestIds.Item(0)

There is also a BuildRequest Class.

Microsoft.TeamFoundation.Build.Server.BuildRequest

BatchId Gets or sets the batch ID for this request. Requests with matching batch IDs are started together in a single build up to a maximum batch size configured on the Build Definition.

Upvotes: 1

Related Questions