发布管理将构建设置为无限期保留 [英] Release Management sets builds to Retain Indefinitely

查看:28
本文介绍了发布管理将构建设置为无限期保留的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在使用 Microsoft 的发布管理工具来自动将我们的解决方案部署到我们的各种开发服务器.这个工具非常适合我们,因为它可以执行跨越多个服务器的更复杂的部署.从这个意义上说,它运行良好,一切都在正确部署.

一个小问题是,在 Release Management 自动部署构建后,它会将构建设置为无限期保留",这由锁定图标指示.由于我们正在进行持续部署,因此我们保留了大量构建,并且构建定义的保留策略被覆盖.因此,我必须定期进入并突出显示所有以前的构建,并取消选择无限期保留".

因为我们没有使用 Release Management 部署过去的开发(不幸的是我们不允许这样做),所以我们不需要保留所有这些开发构建.

有没有办法更改发布管理,使其不会将构建设置为无限期保留?

更新:由于目前无法实现,如果您想要此功能,请在 UserVoice 上投票:https://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/6537614-允许保留无限期不可设置

解决方案

从 RM for TFS 2013.3 开始,这是不可能的.根据 Teodora Stanev 的说法 post,这是设计使然.

请随时在 Visual Studio UserVoice 站点上提出请求>

We are using Microsoft's Release Management tool for automating the deployment of our solution to our various dev servers. This tool is ideal for us because it can perform more complicated deployments that span multiple servers. In this sense, it is working fine and everything is deploying correctly.

A minor issue is that after Release Management automatically deploys a build, it sets the build to "Retain Indefinitely" which is indicated by the Lock icon. Since we are doing continuous deployment, we are retaining a large number of builds and the Build Definition's retention policy is overridden. I therefore have to go in periodically and highlight all of the previous builds and unselect Retain Indefinitely.

Because we are not deploying past dev with Release Management (we unfortunately aren't allowed to), we don't need to keep all of these dev builds around.

Is there a way to change Release Management so that it doesn't set builds to Retain Indefinitely?

Update: Since this is not currently possible, if you would like this feature, please vote for it on UserVoice: https://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/6537614-allow-retain-indefinitely-to-not-be-set

解决方案

As of RM for TFS 2013.3, this is not possible. According to Teodora Stanev on this post, this is by design.

Feel free to post a request on the Visual Studio UserVoice site

这篇关于发布管理将构建设置为无限期保留的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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