Skip to content
This repository has been archived by the owner on Feb 12, 2019. It is now read-only.

Build Tree Traversal - Trying to get files for a particular build #42

Open
Hupperware opened this issue Mar 13, 2013 · 0 comments
Open

Comments

@Hupperware
Copy link

var builds = theTeamCityClient.Builds.ByBuildLocator(BuildLocator.WithNumber(versionNumber));

looping through each build
eachBuild.Changes is null, even though there are changes (verified by a direct API call)

When you pull changes by themselves:
var changes = theTeamCityClient.Changes.ByBuildId(IntUtil.ValueOrDefault(eachBuild.Id))
looping through changes
eachChange.Files is null, even though there are files (verified by a direct API call)

Seems that the parent object is not hydrating the children correctly.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant