VSTS / TFS trigger build only on push to Git subfolder

I’ve discovered today by chance that VSTS now supports build triggers only on subfolder in git branch. The absence of this feature before prevented us from keeping several projects in one git repository and forced to some untrivial code sharing techniques when absolutely not required.

In order to do that notice the new option:

![](image (1).png)

In this case I’m only triggering build when changes under APIS folder in the root git repo are detected and ignored otherwise.

Thanks! You can always email me or use contact form for more questions/comments etc.