如果构建在 Visual Studio Team Services 中的最长生命周期为 30 天,我们如何发布

How we can make release if build has maximum life time 30 days in Visual Studio Team Services

我发现我们可以从“Retention”中定义构建生命周期,最长为 30 天。假设我有一个名为“Release1”的版本,它与 Build 1.0.2016123.1 的构建工件相关联。现在我想在构建创建 40 天后执行发布。在这种情况下,Visual Studio Team Services 是否可以发布 1(Visual Studio 在线)? 如果无法发布,那么我们如何管理这种情况?

等待您宝贵的回复。

您可以为构建设置一个 "Retain indefinitely" 选项作为保留策略的例外:

Managed completed builds: After a build has completed, you can rate the quality of the build. You can request a new build for any completed build. You can delete completed builds that are no longer required.

You can specify that a build should be retained indefinitely, as an exception of the defined retention policy. For example, you might do this for released builds.

发布时间: