Azure / Azure/azure-cli

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

Open
#17,655 4 comments 1 reaction 0 assignees View on GitHub
act-platform-engineering-squad DevOps Pipelines Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

> ### `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**

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.