Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Add properties parameter in az pipelines runs artifact upload command #1419

Open
rembik opened this issue Sep 12, 2024 · 0 comments
Labels
Feature Feature Work required.

Comments

@rembik
Copy link

rembik commented Sep 12, 2024

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.

@rembik rembik added the Feature Feature Work required. label Sep 12, 2024
@rembik rembik changed the title [Feature Request] Add properties parameter in az pipelines runs artifact publish command [Feature Request] Add properties parameter in az pipelines runs artifact upload command Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Feature Work required.
Projects
None yet
Development

No branches or pull requests

1 participant