How to debug a schedule trigger?

Answered

I've set up a schedule trigger on a Deploy configuration to run every night. It's filtering to a specific perforce stream, and set to run if a watched build changes via Last successful build in the same perforce stream.

 

When the trigger time arrives, I can't see any entries in the logs even with all set to debug. In the UI, the Next scheduled time updates to the next day, and no deploy is triggered.

 

How can I debug this to see what logic the trigger ends up following to decide it won't fire? This is with TeamCity 2021.2

0
1 comment

Hi! Could you please clarify what settings you use to configure this:

It's filtering to a specific perforce stream, and set to run if a watched build changes via Last successful build in the same perforce stream.

The debug information about the triggers can be found in the teamcity-triggers.log. Suppose there are no entries in teamcity-triggers.log indicating explicitly why the trigger didn't go off. In that case, you can raise a support request and attach the teamcity-triggers*.log, and teamcity-server.log* files along with details regarding your configuration requested above, and specify the build configuration ID.

0

Please sign in to leave a comment.