是否有任何策略或规则来删除TFS 2015构建代理服务器中的工作区文件 [英] Is there any policy or rule to delete the workspace files in the TFS 2015 build agent server

查看:62
本文介绍了是否有任何策略或规则来删除TFS 2015构建代理服务器中的工作区文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hi Team,

我们在本地服务器上有一个Team foundation 2015。我们注意到排队后创建的构建工作区文件夹 构建越来越大。它注意到服务器的磁盘空间处于临界状态。我们
在创建工作区文件夹的D盘中添加了更多GB。几天之后我们注意到磁盘空间已满。

We have a Team foundation 2015 on premises server . We have noticed that our build workspace folder which is created after queuing  the build is increasing the size day by day. It has noticed that disk space of the server is in the critical state. We have added more GB in the D drive where workspace folders is created. After few more days we noticed that disk space become full.

您能否将此作为优先级问题,让我们知道删除这些工作区文件是否有问题。

Can you take this as a priority issue and let us know is there nay problem in deleting these workspace file .

我们有几天后可以选择删除工作区文件夹吗?

Do we have any option to delete the workspace folders after few days ?

请问我是否有任何澄清?

Please feel to ask me if any clarification?

推荐答案

嗨sabithad,

Hi sabithad,

感谢您在此处发帖。

是的,可以删除由您的构建生成的那些工作区下的那些文件。在构建代理工作文件夹中删除这些构建工作区文件不会对构建产生影响。

Yes, those files under those workspaces which generate by your builds could be deleted. Deleting those build workspace files on your build agent work folder won't have effect on your builds.

TFS没有删除构建工作区文件的任何策略,您可以开发一个小程序或服务来定期清理构建工作文件夹。要避免此问题,除了删除工作区文件之外,您可以检查构建定义
映射。检查每个构建定义中是否映射了构建过程中此构建定义不需要的某些文件。

TFS doesn't have any policy that deleting the build workspace files, you could develop a small program or service to clean the build work folder periodically. To avoid this issue, except deleting the workspace files, you could check your build definition mappings. Check that in each build definition, does it map down some files that this build definition doesn't need during build process.

此外,您还可以添加一台构建计算机,而不仅仅是使用一台构建计算机。

And also, you could add one more build machine, not just using one build machine.


这篇关于是否有任何策略或规则来删除TFS 2015构建代理服务器中的工作区文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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