azure-devops - VSTS 发布批准电子邮件

标签 azure-devops azure-pipelines-release-pipeline

使用“旧版编辑器”,可以通过发布定义 > 触发器 > 配置环境来配置发布环境以向批准者发送电子邮件,如屏幕截图所示。 ( see also this answer )

enter image description here

有没有办法使用“新编辑器”来做到这一点?似乎此工作流程中缺少用于电子邮件和阻止创建用户批准的选项。

enter image description here

最佳答案

您可以在https://account.visualstudio.com/_notifications页面设置Approval邮件通知(通过单击配置文件 -> 通知设置)。

在通知包中,您可以为An approval for a deployment is pending添加新订阅,然后指定电子邮件地址和过滤条件。

with the integrated notification settings experience, we are moving the control on notifications from the sender to the receiver. By default, we'll always raise notification events whenever approvals are pending and based on receiver's preferences around whether he wants to be notified by email or not.

更多详情,您可以引用:

Personalize what notifications you receive for releases

New Release Editor does not expose option to Send email to approver

例子: 在通知页面,添加一个新的订阅一个部署正在等待批准,详细设置如下:

enter image description here

只需添加需要接收此类邮件的邮箱地址,多个邮箱地址之间用逗号(,)隔开。

关于azure-devops - VSTS 发布批准电子邮件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45599572/

相关文章:

git - 我可以运行位于 Azure 数据工厂上的 git 存储库中的 SQL 脚本文件吗?

Azure Release Pipeline - 如何设置代理池

performance - 负载测试自动化作为 VSTS 发布管道的一部分

azure-devops - PackageReference 版本控制通配符 csproj

azure - 以原子方式将设置推送到 azure 应用程序配置

azure - azure 管道 yml 中的嵌套循环

c# - Azure 管道日志在运行任务中添加 C# 消息

visual-studio - VSTS : Release and deploy a console application

powershell - 如何通过内联 PowerShell 命令设置 Azure Devops 管道变量?

azure-devops - 在 Azure DevOps 构建管道期间创建 json 文件