Skip to content

Commit

Permalink
Additional logging to help diagnose #648
Browse files Browse the repository at this point in the history
  • Loading branch information
rfennell committed Apr 2, 2020
1 parent eb986a3 commit 0962caa
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -155,10 +155,12 @@ async function run(): Promise<number> {
workitems = [];

for (var build of builds) {
agentApi.logInfo(`Getting the details of ${build.id}`);
agentApi.logInfo(`Getting the details of build with the ID ${build.id}`);
var buildCommits = await buildApi.getBuildChanges(teamProject, build.id);
agentApi.logInfo(` found ${buildCommits.length} commits`);
commits.push(...buildCommits);
var buildWorkitems = await buildApi.getBuildWorkItemsRefs(teamProject, build.id);
agentApi.logInfo(` found ${buildWorkitems.length} commits`);
workitems.push(...buildWorkitems);
}
} else if (artifactInMostRecentRelease.buildId !== artifactInThisRelease.buildId) {
Expand Down

0 comments on commit 0962caa

Please sign in to comment.