You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Node version: v21.7.3
Npm version: 10.5.0
OS and version: MacOS Sonoma 14.4.1
azure-devops-node-api version: 12.5.0
Issue Description
When attempting to use IBuildApi.getRetentionSettings(), the value for runsToRetainPerProtectedBranch is null
Expected behaviour
It should be a RetentionSetting object
Actual behaviour
The RetentionSetting object is null
Steps to reproduce
Create a IBuildApi object connected to an Azure Devops server
call getRetentionSettings() on that project
Note the runsToRetainPerProtectedBranch object is null but the other options are not.
Logs
JSON object representation for example
{"purgeArtifacts":{"min":1,"max":60,"value":30},"purgePullRequestRuns":{"min":1,"max":30,"value":10},"purgeRuns":{"min":30,"max":731,"value":30},"retainRunsPerProtectedBranch":null}
The text was updated successfully, but these errors were encountered:
Environment
Node version: v21.7.3
Npm version: 10.5.0
OS and version: MacOS Sonoma 14.4.1
azure-devops-node-api version: 12.5.0
Issue Description
When attempting to use IBuildApi.getRetentionSettings(), the value for runsToRetainPerProtectedBranch is null
Expected behaviour
It should be a RetentionSetting object
Actual behaviour
The RetentionSetting object is null
Steps to reproduce
Logs
JSON object representation for example
{"purgeArtifacts":{"min":1,"max":60,"value":30},"purgePullRequestRuns":{"min":1,"max":30,"value":10},"purgeRuns":{"min":30,"max":731,"value":30},"retainRunsPerProtectedBranch":null}
The text was updated successfully, but these errors were encountered: