I have a GIT repo for my project with 2 folders - Client and Server, containing corresponding code in each folder. I would like to have two teamcity build procedures, one each for client and server code changes. In the current setup, the entire GIT repo is checked out and built. I would like to restrict the client build only to client code changes and server build only to server changes.
One option is to split them to 2 different repos, but this is inconvenient for the developers.
Is there a way to configure teamcity to listen to changes only on a specific folder ?
You still could split client and server in two repos, and keep the same folder structure for the developers, since both repos could be declared as submodules in the parent repo.
And you can setup those submodules in the parent repo in order to follow the latest commits of their respective master
branch.
That way, it is easier for TeamCity to follow only the commits of one specific repo (the client on, or the server one), since partial cloning isn't supported with git.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With