Skip to content

Instantly share code, notes, and snippets.

@borismod
Created December 3, 2015 10:29
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/6d0f500d60116bb90bd8 to your computer and use it in GitHub Desktop.
Save borismod/6d0f500d60116bb90bd8 to your computer and use it in GitHub Desktop.
Get Builds with many filters
var builds = new RemoteTc()
.Connect(_ => _.ToHost("teamcity.codebetter.com").AsGuest())
.GetBuilds(_ =>
_.NotPersonal()
.Pinned()
.Status(BuildStatus.Success)
.SinceDate(DateTime.Now.AddDays(-1))
.BuildConfiguration(__ => __.Id("FluentTc")));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment