I am new to Team City and have this following question:
Currently I am using Perforce as VCS in TeamCity and here is my scenario:
I have one very big root project --let say they are located at "//depot/MainRoot/..." in Perforce.
Inside that root, I only want to monitor update changes from two location only, let say "//depot/MainRoot/ProjectA/..." and "//depot/MainRoot/ProjectH/..." out of all Project over there.
But, both of ProjectA and ProjectH still need others files in the MainRoot (for example: "//depot/MainRoot/ProjectB/...") to be compiled.
Hence, I will need all files from "//depot/MainRoot/..." available, but I only want TeamCity to run whenever there is changes in ProjectA and ProjectH.
How do I need to configure that?
Currently I am put "C:\MainRoot" as checkout directory and depot as the main root (in P4 Connection Settings, I just assigned "Client" to be team-city-agent).
But that configuration, will trigger TeamCity to run for any changes made in depot (even sometimes it clean up and do sync force which takes a lot of time).
do I need to add trigger rules? what parameter should i put there?
what other changes do i need to do? (especially to negate any clean up)
Thanks and happy coding :)