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

前端 未结 2 1588
萌比男神i
萌比男神i 2021-01-28 03:48

I installed CCNET to make autobuild from a GIT server. I have a big problem here : My Git Server Repo Structure :

   Repo.git
      ---  Module 1(Folder 1)
             


        
2条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-28 04:23

    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.

提交回复
热议问题