GIT Source Control make trigger when files are changed in a Folder

懵懂的女人 提交于 2019-12-02 09:16:43
otaku

In Git, if you have several directories that are always checked out independently, then these are really two different projects and should live in two different repositories. You can merge them back together at a later point using Git Submodules

An alternative approach you can use Modification Writer Task. This tasks writes to an XML file, which can be evaluated from build script or batch file. Based on this you can do your build.

the answer from @domu904 is correct.

But if you do not want to change your project structure you can try to use the Filtered Source Control.

With the Filtered Source Control you're abel to specify include and exclude filter rules for CCNet to detect modifications.

So you can include just the specific git module folder in your module ccnet project.

To trigger the dependend module ccnet projects use the Project Trigger.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!