Skip to content
Creates an IObservable for teamcity
C#
Find file

README.textile

Teamcity.Rx

Gives you an observable class which will emit any changes made in teamcity (e.g. build state change, project added, build configuration removed, etc).

var teamcityObservable = new TeamcityObservable("http://teamcity.foo.com", "foo", "bar");
teamcityObservable.Subscribe(e => System.Console.WriteLine(e.EventId));

var teamcity = teamcityObservable.Teamcity;
Console.WriteLine(teamcity["Some Project"]["Some Build Configuration"].State);
Something went wrong with that request. Please try again.