Forum Discussion
Tamilselvan2030
Mar 21, 2024Copper Contributor
Pipeline outcome summary for all pipelines reports
I am looking the solution for azure DevOps report for deployment where we can see the complete flow of deployment , who initiated it, who approved it and who deployed it.
1 Reply
Sort By
Would suggest the following:
- Use Deployment Approvals in Azure Pipelines
- Azure DevOps allows pre-deployment and post-deployment approvals.
- You can configure approvals in classic release pipelines or YAML pipelines.
- Approvers must have View releases permissions to approve or reject deployments.
- Retrieve Approver Information via REST API
- Azure DevOps REST API to query approvals:
https://dev.azure.com/{organization}/{project}/_apis/pipelines/approvals?expand=steps&api-version=7.1-preview.1
- This API returns details about who approved the deployment and their identity.
- Generate a Deployment Report
- You can create a custom report using Azure DevOps Analytics or Power BI.
- The report can include:
- Initiator (who triggered the pipeline)
- Approver (who approved the deployment)
- Deployer (who executed the deployment)
- Use queries in Azure DevOps to extract this data.