VSTS - 基于文件夹更改触发构建
VSTS - Trigger build based on folder change
有没有根据分支和文件夹更改触发构建的方法?
例如,我在 visual studio 解决方案中有多个 Web 项目。当我的 master 分支上的文件夹发生变化时,我只想触发该项目的构建,而不是整个解决方案。
谢谢!
您可以在发布管道中使用 build trigger path and branch filters to selectively trigger a new build and artifact filters based on branch 对发布执行相同的操作。
有没有根据分支和文件夹更改触发构建的方法?
例如,我在 visual studio 解决方案中有多个 Web 项目。当我的 master 分支上的文件夹发生变化时,我只想触发该项目的构建,而不是整个解决方案。
谢谢!
您可以在发布管道中使用 build trigger path and branch filters to selectively trigger a new build and artifact filters based on branch 对发布执行相同的操作。