we have a build configuration A with one VCS root and an artifact dependency on build configuration B. Once a day we would like it to trigger A IF there were VCS changes in A OR if there was a new successful build B since last build A.
We tried adding a Schedule Trigger and enabled "Trigger only if there are pending changes" and "Trigger only if watched build changes". Apparently this trigger fires only if both conditions are met.
Then we tried adding two scheduled triggers, one for each condition. But even with a difference of 5 minutes this triggered two builds of A. Unfortunately our build A takes about 3 hours, so this is not really an option for us.
Is there a way to model this with the existing triggers?
We use TeamCity 9.1.4.