在 TFS vnext 构建中过滤 CI 触发器到 git 存储库的子文件夹

Filter CI trigger in TFS vnext build to a subfolder of git repo

在新的 TFS 构建系统中,我想将持续集成触发器配置为仅触发 git 存储库中的子文件夹。这可能吗?我该怎么做?我已经为过滤器字段尝试了多种格式,但到目前为止没有任何效果。

谢谢。

似乎无法将 CI 触发器限制到存储库中的特定文件夹。 Microsoft UserVoice 站点上有功能请求,您可以投票:

http://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/5279254-allow-git-ci-builds-to-monitor-changes-only-in-a-s

您现在可以使用路径过滤器来完成:https://blog.gavryli.uk/2016/06/16/vsts-tfs-trigger-build-only-on-push-to-git-subfolder/