azure-devops-cli-extension
azure-devops-cli-extension copied to clipboard
[Feature Request] Add `properties` parameter in `az pipelines runs artifact upload` command
Description:
I would like to request the addition of the properties input variable from the PublishPipelineArtifact@v1 task as an optional parameter for the respective command of the Azure DevOps CLI extension.
Feature Request:
The PublishPipelineArtifact@v1 task in Azure DevOps Pipelines allows users to specify custom properties using the properties input variable. This is useful for adding metadata to the published artifacts. However, the current az pipelines runs artifact upload command in the Azure DevOps CLI extension does not support this parameter.
Proposed Solution:
Add a new command option --properties to the az pipelines runs artifact upload command to allow users to specify custom properties when publishing pipeline artifacts. The option should accept a key-value pair format, similar to the properties input variable in the PublishPipelineArtifact@v1 task.
Example Usage:
az pipelines runs artifact upload --artifact-name myArtifact --run-id myRunID --path /path/to/artifact --properties "user-key1=value1;user-key2=value2"
Benefits:
- Consistency between the Azure DevOps Pipelines task and the CLI extension.
- Enhanced functionality for users who rely on custom properties for their artifacts.
- Improved automation capabilities by allowing metadata to be specified directly from the CLI.
Thank you for considering this feature request. I believe it will greatly enhance the usability and functionality of the Azure DevOps CLI extension.