Azure / azure-cli

Azure Command-Line Interface
MIT License
3.95k stars 2.93k forks source link

az pipeline create does not set Trigger Setting: "Report build status" to true for Azure Devops backed Pipelines #17655

Open altnp opened 3 years ago

altnp commented 3 years ago

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Describe the bug

When creating a pipeline backed by AzureDevops Git Repos the setting "Report build status" is not set to true, and there is no way to set it via CLI.

This differs from the pipeline creation experience from the UI that enables this setting automatically (you are not prompted to set this either way).

To Reproduce

az pipelines create --name {Name} --repository {azure devops repo} --branch {branch}

Expected behavior

Report build status should be enabled by default, or an option should be provided to set this value to true.

Environment summary

azure-cli                         2.21.0

core                              2.21.0
telemetry                          1.0.6

Extensions:
azure-devops                      0.18.0

Additional context

ghost commented 3 years ago

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

Issue Details
> ### `az feedback` auto-generates most of the information requested below, as of CLI version 2.0.62 **Describe the bug** When creating a pipeline backed by AzureDevops Git Repos the setting "Report build status" is not set to true, and there is no way to set it via CLI. This differs from the pipeline creation experience from the UI that enables this setting automatically (you are not prompted to set this either way). **To Reproduce** `az pipelines create --name {Name} --repository {azure devops repo} --branch {branch}` **Expected behavior** Report build status should be enabled by default, or an option should be provided to set this value to true. **Environment summary** ``` azure-cli 2.21.0 core 2.21.0 telemetry 1.0.6 Extensions: azure-devops 0.18.0 ``` **Additional context**
Author: altnp
Assignees: -
Labels: `DevOps`, `Service Attention`, `needs-triage`, `question`
Milestone: -
yonzhan commented 3 years ago

route to service team

dperezro-ins commented 2 years ago

@yonzhan is there any update on this? it's a big showstopper for automating pipelines.

yonzhan commented 2 years ago

devops service team should take a look cc @narula0781, @ashishonce, @romil07.