private IBuildServer GetBuildServer(string serverUri)
{
TfsTeamProjectCollection teamProjectCollection =
TfsTeamProjectCollectionFactory.GetTeamProjectCollection(new Uri(serverUri));
IBuildServer buildServer = teamProjectCollection.GetService<IBuildServer>();
return buildServer;
}