Azure / Azure/azure-cli-extensions

Is there a cli to query for consumed artifacts used by a yaml (deployment job) pipeline?

Open
#4,447 5 comments 0 reactions 0 assignees View on GitHub
customer-reported DevOps Pipelines Service Attention
Dominant language
Python
Stars
454
Forks
1.7k
Avg merge
2d 19h
Merged PRs (30d)
64

Description

- If the issue is to do with Azure CLI 2.0 in-particular, create an issue here at [Azure/azure-cli](https://github.com/Azure/azure-cli/issues)

### Extension name (the extension in question)

{
"azure-cli": "2.25.0",
"azure-cli-core": "2.25.0",
"azure-cli-telemetry": "1.0.6",
"extensions": {
"application-insights": "0.1.13",
"automation": "0.1.0",
"azure-devops": "0.18.0",
"front-door": "1.0.14",
"storage-preview": "0.7.4"
}
}
### Description of issue (in as much detail as possible)

requirements:
1. Find out what version of an app service (azure app service) deployed to Azure. This information should include the build number of the CI build that was deployed to the app service.

Problem:
1. Querying 'deployment center' in the log using 'az webapp deployment log' returns information of the yaml pipeline (deployment job yaml) which contains the build number of the deployment pipeline.

2. However, when querying Azure Devops using 'az pipelines build list' command and filtering it based on a build definition id, the list of build results returned showed some has triggerInfo populated and some don't.

Expectation:

1. The command should always return the triggerInfo or somehow return the information of the consumed artifacts used by the yaml deployment job.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.