-
Notifications
You must be signed in to change notification settings - Fork 431
Open
Description
Azure DevOps Extensions
Generate Release Notes (Cross Platform Node)
Platform
Azure DevOps Services
Azure DevOps Server (TFS) Version
No response
Extension Version
3.51.2
Describe the bug
I have Azure DevOps build and release pipelines for source code in Bitbucket. I could not make ReleseNotes generator working. So I started investigation and debugging and found out that it works for the build, but doesnt work for Release with comparison with the latest deployment.
I used the tool to narrow down the problem. Method
// Fall back to original behavior
commits = await buildApi.getChangesBetweenBuilds(artifactInThisRelease.sourceId, parseInt(artifactInMostRecentRelease.buildId), parseInt(artifactInThisRelease.buildId), 5000);
always returns 0 commits.Repo Steps
I found a two releases with difference in a few commits.
Then I run the tool in debug mode using 'overrideBuildReleaseId' parameter. In debug mode I could confirm that parameters artifactInMostRecentRelease.buildId and artifactInThisRelease.buildId are correct ones. This is two lines from console:
Checking what commits and workitems have changed from [20210505.5][ID 9607] => [20210506.1] [ID 9637]
Using workaround for build API limitation (see issue #349)
I played with Fix349 parameter but it did not help. Seems that the issue is in buildApi.getChangesBetweenBuilds method.Expected Behavior
Method should return a collection of changesets but returns empty collectionLogging Information
No response
Metadata
Metadata
Assignees
Projects
Status
Known Issues