Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save borismod/f414656726a0a691fb9a to your computer and use it in GitHub Desktop.
Save borismod/f414656726a0a691fb9a to your computer and use it in GitHub Desktop.
Get Builds by Build Configuration Id with StartDate and FinishDate with paging
var builds = new RemoteTc()
.Connect(_ => _.ToHost("teamcity.codebetter.com").AsGuest())
.GetBuilds(_ => _.BuildConfiguration(__ => __.Id("FluentTc")),
_ => _.Start(20).Count(10),
_ => _.IncludeStartDate().IncludeFinishDate());
@IgalShkolnikXPO
Copy link

"'IBuildIncludeBuilder' does not contain a definition for 'Start' and no extension method 'Start' accepting a first argument of type 'IBuildIncludeBuilder' could be found (are you missing a using directive or an assembly reference?)" -- with 0.0.0.140

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment