public async Task <IDetailedBuildConfiguration> GetBuildConfigurationDetailsAsync(IBuildConfigurationLocator buildConfigurationLocator)
        {
            var request = new RestRequest("buildTypes/{locator}");

            request.AddUrlSegment("locator", buildConfigurationLocator.Serialize());
            var response = await _teamCityClient.ExecuteRequestAsync <BuildTypeResponse>(request);

            return(_buildConfigurationMapper.Map(response));
        }
Esempio n. 2
0
 public string Serialize()
 {
     return(string.Format("buildType:({0})", _buildConfigurationLocator.Serialize()));
 }