建立保留 [英] Build Retention

查看:72
本文介绍了建立保留的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好

TFS 2015更新4

TFS 2015 Upd 4

有没有办法根据"insted"的构建数量配置Build Retention。要保持的日子" ?

Is there a way to configure Build Retention based on number of builds insted of "Days to keep" ?

因为"保持最低限度"不是我的确切需要,我想配置例如:

Because "Minimum to keep" is not the exact need I have, I would like to configure for example this:

"保留最后10个版本"但不知道如何使用TFS给我的选项来实现这一点。

"Keep the last 10 builds" but do not know how to achieve this using the options that TFS gives me.

谢谢

推荐答案

嗨Andres,

Hi Andres,

我认为只有你可以使用的选项是使用最小值来保留。这将保持部分成功和成功的构建,我相信它应该足够了。您可以使用保留构建来覆盖这些策略。

I think only option available to you is using the minimum to keep. That will keep partially succeeded and succeeded builds and I believe it should be sufficient. You can use retaining of builds to override these policies.

https://www.visualstudio.com/en-us/docs/build/concepts/policies/retention

你想保留吗? ,当你说最后10时,失败的构建也是如此。否则设置10以保持最小值将允许你做你想要的。

Do you want to keep, failed builds as well when you say last 10. Otherwise setting 10 to keep minimum would allow you to do what you wanted.

干杯!

Chaminda

Chaminda


这篇关于建立保留的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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