通过 TFS 版本定义中的电子邮件批准继续集成 [英] Continues Integration through email approval in TFS release definition

查看:28
本文介绍了通过 TFS 版本定义中的电子邮件批准继续集成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是 Microsoft Visual Studio Team Foundation Server版本 14.102.25423.0

I'm using Microsoft Visual Studio Team Foundation Server Version 14.102.25423.0

作为我们公司持续集成部署的一部分,我想实现以下内容:我创建了一个发布定义,其中配置了两个环境(QA 和生产).

As part of our company's continues integration deployment, I want to implement the following: I have created a release definition with two environments configured under it (QA & Production).

我希望在 QA 环境中的所有任务成功完成后收到一封电子邮件.在那封电子邮件中应该有一个按钮,一旦按下,生产任务就会开始.

I want to receive an email when all the tasks in the QA environment are completed successfully. In that email there should be a button that once pressed, the Production tasks will start.

我很想听听我如何实现这一点的任何想法.到目前为止,我发现的只是构建警报,而不是发布警报.

I would love to hear any ideas how do I implement this. All I've found so far are build alerts and not release alerts.

谢谢,非常感谢.

推荐答案

您可以在 TFS 中非常简单地完成此操作.

You can do this pretty simply in TFS.

  1. 在您的发布过程中,选择编辑

选择触发器

在环境触发器部分找到您的生产环境,然后选择编辑铅笔.

Find your Production environment in the Environment triggers section and select the Edit pencil.

选择批准

如果这是您选择的,这将发送一封关于预先批准的电子邮件.

This will send an email on pre-approval if that is what you selected.

这篇关于通过 TFS 版本定义中的电子邮件批准继续集成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆