lzcd / TeamHuh

Querying TeamCity without querying one's reason to continue living

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

An example of use:

// preparation
dynamic huh = new Query(myServerName, myUserName, myPassword);

// looking up the name of a specific project (of id 'bt2') within a specific project (of id 'Project2')
var projectName = huh.Projects.Project2.BuildTypes.bt2.Name;


// looping through and looking up the names of all the build types within a specific project (of id 'Project2')
foreach (var buildType in huh.Projects.Project2.BuildTypes)
{
  var name = buildType.Name;
}


(Please note everything is case insensitive)

About

Querying TeamCity without querying one's reason to continue living


Languages

Language:C# 100.0%