更改 TFS 2010 生成的放置文件夹的名称
我的自动构建运行良好,但经过一些版本控制自定义后,构建的文件夹名称只是一个不断增加的数字(即 358,359,360...)
它如何将该集设置为我制作并设置为的版本号构建名称?
My auto builds are running fine, but after some versioning customization, the name of the folder for the build is just a ever increasing number (ie, 358,359,360...)
How can it get that set to the version number I made and set to the build name?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
hte 文件夹的名称默认设置为构建的名称,可以通过构建定义进行自定义。
如果您自定义了工作流程本身,您可能会无意中更改此行为。检查工作流程,在更新放置位置序列下有 2 个活动:设置放置位置和创建放置位置,它们确定文件夹路径并创建它。默认情况下,文件夹路径设置为:BuildDetail.DropLocationRoot + "\" + BuildDetail.BuildDefinition.Name + "\" + BuildDetail.BuildNumber
BuildNumber 格式在构建定义配置中设置,默认情况下为:$(BuildDefinitionName) _$(Date:yyyyMMdd)$(Rev:.r)
如果没有任何问题,请尝试在“参数”选项卡下将“日志详细程度”设置为“诊断”来运行构建,并检查构建输出。
The name of hte folder by default is set to the name of the build, which can be customized via the build definition.
If you've customized the workflow itself you may have inadvertently changed this behaviour. Examine the workflow and under the Update Drop Location sequence there are 2 activities: Set Drop Location and Create the Drop Location which determine the folder path and create it. By default the folder path is set to: BuildDetail.DropLocationRoot + "\" + BuildDetail.BuildDefinition.Name + "\" + BuildDetail.BuildNumber
The BuildNumber format is set in the build definition configuration, by default it is: $(BuildDefinitionName)_$(Date:yyyyMMdd)$(Rev:.r)
If nothing looks out of order, try running the build with Logging Verbosity set to Diagnostic under the Parameters tab and examine the build output.