"Schedule Trigger" not working with "Trigger build only if there are pending changes"

Hello, I have a "Build -> Tests -> Deploy" buildchain in TC 8.1.1 with a "Schedule Trigger" on the "Deploy" build configuration.
The build should start every day at 07:00am but only if there are changes so I enabled "Trigger build only if there are pending changes".
I attached the VCS Root of the "Build" configuration to the "Deploy" configuration and set the checkout mode to "Do not checkout files automatically".
When I now come to work in the moring, TC display pending changes for the "Deploy" configuration but not triggered it.
The teamcity-vcs.log say this:

[2014-03-19 07:00:19,850]   INFO [p-nio-80-exec-6] -      jetbrains.buildServer.VCS - Setting build revisions on agent=IntegrationTesting {id=5, host=192.168.0.24:9292, agentTypeId=5, pool=Default}, buildPromotion=Build promotion {promotion id=14650, configuration=MyRepo :: Nightly Build :: 01 - Generate and Compile {id=MyRepo_NightlyBuild_GenerateAndCompile, internal id=bt19}, associated build id=7038, modificationId=126505, revisions=["Testing" {instance id=49, parent internal id=19, parent id=MyRepo_Release_Testing, description: "mercurial: https://company.kilnhg.com/Code/Repositories/Public/MyRepo"}: aa151c2005bb]}, revisions={"Testing" {instance id=49, parent internal id=19, parent id=MyRepo_Release_Testing, description: "mercurial: https://company.kilnhg.com/Code/Repositories/Public/MyRepo"}=null} [2014-03-19 07:00:20,037]   INFO [rmal executor 3] -      jetbrains.buildServer.VCS - Requesting clean patch: root="Testing" {instance id=49, parent internal id=19, parent id=MyRepo_Release_Testing, description: "mercurial: https://company.kilnhg.com/Code/Repositories/Public/MyRepo"}, toVersion=aa151c2005bb, checkoutRules=+:=>, cleanPatch=true, buildType=MyRepo :: Nightly Build :: 01 - Generate and Compile {id=MyRepo_NightlyBuild_GenerateAndCompile, internal id=bt19}, buildId=7038 [2014-03-19 07:00:20,037]   INFO [rmal executor 3] -      jetbrains.buildServer.VCS - Building non-cachable clean patch: root="Testing" {instance id=49, parent internal id=19, parent id=MyRepo_Release_Testing, description: "mercurial: https://company.kilnhg.com/Code/Repositories/Public/MyRepo"}, toVersion=aa151c2005bb, checkoutRules=+:=> [2014-03-19 07:00:37,256]   INFO [rmal executor 3] -      jetbrains.buildServer.VCS - Done requesting clean patch for root="Testing" {instance id=49, parent internal id=19, parent id=MyRepo_Release_Testing, description: "mercurial: https://company.kilnhg.com/Code/Repositories/Public/MyRepo"}, toVersion=aa151c2005bb, checkoutRules=+:=>, cleanPatch=true, buildType=MyRepo :: Nightly Build :: 01 - Generate and Compile {id=MyRepo_NightlyBuild_GenerateAndCompile, internal id=bt19}, buildId=7038; took 17 sec 209 msec [2014-03-19 07:00:37,318]   INFO [p-nio-80-exec-8] -      jetbrains.buildServer.VCS - Setting build revisions on agent=IntegrationTesting {id=5, host=192.168.0.24:9292, agentTypeId=5, pool=Default}, buildPromotion=Build promotion {promotion id=14650, configuration=MyRepo :: Nightly Build :: 01 - Generate and Compile {id=MyRepo_NightlyBuild_GenerateAndCompile, internal id=bt19}, associated build id=7038, modificationId=126505, revisions=["Testing" {instance id=49, parent internal id=19, parent id=MyRepo_Release_Testing, description: "mercurial: https://company.kilnhg.com/Code/Repositories/Public/MyRepo"}: aa151c2005bb]}, revisions={"Testing" {instance id=49, parent internal id=19, parent id=MyRepo_Release_Testing, description: "mercurial: https://company.kilnhg.com/Code/Repositories/Public/MyRepo"}=null} [2014-03-19 07:00:42,443]   INFO [-nio-80-exec-10] -      jetbrains.buildServer.VCS - Setting build revisions on agent=IntegrationTesting {id=5, host=192.168.0.24:9292, agentTypeId=5, pool=Default}, buildPromotion=Build promotion {promotion id=14650, configuration=MyRepo :: Nightly Build :: 01 - Generate and Compile {id=MyRepo_NightlyBuild_GenerateAndCompile, internal id=bt19}, associated build id=7038, modificationId=126505, revisions=["Testing" {instance id=49, parent internal id=19, parent id=MyRepo_Release_Testing, description: "mercurial: https://company.kilnhg.com/Code/Repositories/Public/MyRepo"}: aa151c2005bb]}, revisions={"Testing" {instance id=49, parent internal id=19, parent id=MyRepo_Release_Testing, description: "mercurial: https://company.kilnhg.com/Code/Repositories/Public/MyRepo"}=aa151c2005bb}

When I uncheck ""Trigger build only if there are pending changes" it is working but obviosly also triggers a build if there are no changes.

Please sign in to leave a comment.