I'm trying to set up TeamCity 8.1.5 configurations so that a project is built, but the test step only runs if certain source files were touched. So ideally two configurations. What I'm seeing is that if my second cfg has a FinishBuild and a VCS trigger with some source file rules, it gets triggered for all cases. (The triggers seem to be or'd.)
I can get around this by using three configurations, one for the build (no triggers), a second one for test with a dependency on the build snapshot and with the source file rules as a trigger, and a dummy one with a dependency on the build snapshot and the source file rules trigger inverted.
No way to do this with only two configurations? I hate to have the source file rules in two places.