VSTS保留版本存储在哪里? [英] Where are VSTS retained releases stored?

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

问题描述

我正在使用本地VSTS构建代理来构建和发布我的应用程序.该版本的保留配置设置为30天,在VSTS网站上,我可以看到保留了30天的版本.但是,我希望在构建代理程序的工作文件夹中的某个位置看到保留版本的.zip文件,但是在任何地方都找不到它们.

I'm using an on-premises VSTS build agent to build and release my application. The retention configuration for the release is set to 30 days, and in the VSTS web site I can see there are 30 days worth of releases retained. However, I was expecting to see the .zip files for the retained release somewhere in the build agents working folder, but cannot find them anywhere.

有人可以告诉我发布的存储位置吗?

Can someone tell me where the releases are stored?

推荐答案

VSTS发布团队服务服务器中的商店,您只能通过发布"选项卡进行访问.

The VSTS releases stores in team services server and you can only access through Releases Tab.

  • 如果要在30天之前保留发行版本,可以指定保留发行天数,其数字在31到365之间.

  • If you want to retention the release earlier then 30 days, you can specify Days to retain a release with bigger number between 31 and 365.

保留版本的天数选项说明:

设置保留已部署到此版本的天数 环境.任何版本都可以保留至少1天,并且 最多365天.

Set the number of days to retain a release deployed to this environment. Any release can be retained for at least 1 day and a maximum of 365 days.

  • 如果要查看与发行版相关的工件,则可以将构建工件发布到网络共享路径.在相关的构建定义中,为

  • If you want to view the artifacts related to a release, you can publish build artifacts to a network shared path. In the related build definition, select Artifact Type as File share for Publish Build Artifacts task. So the artifacts will always be retained locally.

    这篇关于VSTS保留版本存储在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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