The previous post in this series was about the build steps section of the build report. In this post we will see how to retrieve the associated changesets section details.
Using the BuildStore object we have created in this post we can get a list of ChangeSetData objects that contain the needed information (an example on how to get the buildUri parameter value available in this post also):
ChangeSetData[] changesets = buildStore.GetChangeSetsForBuild(buildUri);
foreach (ChangeSetData changeset in buildReport.Changesets)
{
MessageBox.Show(changeset.ChangeSetId.ToString());
MessageBox.Show(changeset.ChangeSetUri);
MessageBox.Show(changeset.CheckedInBy);
MessageBox.Show(changeset.Comment);
}