简体   繁体   English

TFS2017版本管理TFVC工件来源-仅是变更集

[英]TFS2017 Release Management TFVC Artifacts Source - only a changeset

On the Artifacts tab of the release definition editor I can choose as artifacts source type the "Team Foundation Version Control" in the Link an artifact source pop-up. 在发布定义编辑器的“工件”选项卡上,我可以选择“链接工件源”弹出窗口中的“ Team Foundation Version Control”作为工件源。

According with the documentation it's possible to specify a certain changeset to be used as a source: 根据文档 ,可以指定某个变更集作为源:

When you link a TFVC branch, you can specify the changeset to be deployed when creating a release. 链接TFVC分支时,可以指定在创建发行版时要部署的变更集。

But in the editor is possible to select only the root (eg $/FooBarProject). 但是可以在编辑器中仅选择根(例如$ / FooBarProject)。

How can I specify to download only a specific changeset? 如何指定仅下载特定的变更集? I don't need to download the entire repository when I need just one script. 当我只需要一个脚本时,就不需要下载整个存储库。

TFS Version 15.112.26301.0 TFS版本15.112.26301.0

When you specify a changeset, you're specifying a specific changeset for the entire repository. 指定变更集时,就是为整个存储库指定一个特定的变更集。 There's no way to conditionally restrict it to just the contents of that changeset. 无法将它有条件地限制为仅更改集的内容。

If you need a specific file or subset of files, you should publish it as a build artifact. 如果需要特定文件或文件子集,则应将其作为构建工件发布。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM