Azure / azure-cli-extensions

Public Repository for Extensions of Azure CLI.
https://docs.microsoft.com/en-us/cli/azure
MIT License
381 stars 1.2k forks source link

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

Open hb66772-home opened 2 years ago

hb66772-home commented 2 years ago

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.
ghost commented 2 years ago

Thank you for your feedback. This has been routed to the support team for assistance.

yonzhan commented 2 years ago

route to CXP team

navba-MSFT commented 2 years ago

@hb66772-home Apologies for the late reply. Thanks for sharing this feedback. We will look into this ask and provide an update here once we have more details on this.

navba-MSFT commented 2 years ago

@hb66772-home This is a quick update we have involved the Service team in the background to look into this ask and update this thread. We appreciate your patience on this.

ghost commented 2 years ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @narula0781, @ashishonce, @romil07.

Issue Details
- 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.
Author: hb66772-home
Assignees: navba-MSFT
Labels: `customer-reported`, `Service Attention`, `Pipelines`, `DevOps`, `CXP Attention`
Milestone: -