Azure / Azure/azure-devops-cli-extension

[Feature Request] `az pipelines preview` command

Open
#1,459 1 comment 3 reactions 0 assignees View on GitHub
Feature
Dominant language
Python
Stars
682
Forks
278
Avg merge
3d 23h
Merged PRs (30d)
3

Description

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I cannot create a project..

I would like the ability to generate fully expanded azure pipelines templates using the [Pipelines Preview](https://learn.microsoft.com/en-us/rest/api/azure/devops/pipelines/preview/preview?view=azure-devops-rest-7.1) API. The `az pipelines` command does not have a `preview` subcommand.

**Describe the solution you'd like**
A clear and concise description of what you want to happen.
e.g. If you want a new command to be added, what would it do?

I would like the `az pipelines preview` command to be added which would allow providing an azure pipelines YML file and would return the fully expanded pipeline YAML file.

ideally, you would provide `id`, `branch` instead of actual YAML to the command, but also allowing a `yamlOverride` would be nice as well.

**Additional context**
Add any other context or screenshots about the feature request here.

We are wanting a way to programmatically receive a fully expanded Azure pipelines YAML.

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.