Reputation: 25
I am quite new to TeamCity, and have been playing around with it for a few days. My Visual Studio solution has the following projects:
At the moment I have a build configuration set up that will compile the solution and run all the tests as soon as a change is checked in to SVN. This is fine, however there are some cases I wouldn't want this to happen:
What would be the best way to set up the above scenario. I would be very grateful if you could assist.
Many thanks
Upvotes: 2
Views: 2521
Reputation: 7747
You can split your build configuration to few:
For each you should configure checkout path using 'Trigger rules' of VCS trigger. Add to 2nd configuration 'Finish trigger' which depends on 1st configuration and the same for 3rd configuration depending on 2nd. So if you push changes related to Dal, it will build all configurations in order DAL -> BLL -> Web. If you have changes only in BLL, chain will be BLL -> Web, and Web changes will trigger only one Web build.
Upvotes: 3