在 yaml 发布管道中定义批准

ran*_*ing 4 yaml azure-devops azure-pipelines azure-devops-rest-api

我正在研究发布管道并研究在 Yaml 中定义发布批准流程的任何机制。我也检查了 Rest API,但找不到任何指针。

我正在研究一个审批流程,在该流程中,部署到环境需要通过超时设置进行审批。

Sha*_*zyk 5

EDIT: In sprint 155 (7/30) Microsoft released approvals for YAML pipelines that use Environments:

在此处输入图片说明

The pipeline run deploying to the environment will stop for approval at the start of the stage:

在此处输入图片说明


First answer:

This feature not exist yet in the YAML (multi stage) pipelines.

The feature is on the road map and planned to be in Q2 but the work item state still "In Progress".

It's really useful and basic release process and I hope it will be available soon.