I have a repo with two projects, say A and B. I also have a build configuration in TC that builds both A and B and packs them into artifacts.
My goal is to optimize the process and build project A only when files in A/ directory has changed, otherwise get built A from previous artifacts.
I think it could be done by splitting this build configuration on BuildA and BuildB with snapshot dependency between them. However, I need to redefine what "suitable build" means. In particular, I need to say TC: "if difference between this revision and previously built one (by BuildA) is in directory B/, go on, use previous BuildA as suitable".
I think it is impossible to do right now, but it seems to be very common scenario when you do not want building unchanged parts. Is there another way? May be there are some plugins?