1

How do I get the IBuildDetail object from TFS using the the builds URI?

e.g. the URI is vstfs:///Build/Build/1546

4

1 回答 1

2

在构建服务器类上使用 GetBuild() 方法。它需要一个 Uri 作为参数。

var buildDetail= buildServer.GetBuild(new Uri(builduri));
于 2013-02-06T18:46:38.283 回答