2023-01-01

How to grab changes from Azure DevOps environment associated with current run via api

We have yaml-based pipeline in Azure DevOps, which is deploying changes to different environments via deployOnce strategy, looking like this:

jobs:
  - deployment: deploymentName
    displayName: deploymentDisplayName
    dependsOn: []
    environment: int
    strategy:
      runOnce:
        deploy:
          steps:

This also creates nice report of changes in Changes tab of Environments in Azure DevOps Pipelines:

view of changes in environment

What is nice about this view - it is also showing changes, belonging to previous failing deployments as well.

I tried to figure this out, but was not able to actually find correct API call to retrieve this data.



No comments:

Post a Comment