We have a requirement which says, all the critical TC loops need to run everyday without fail. But the loop may not run for many other reasons, one of them which we observed was one of the teamcity agent was down for some reason & this loop (which runs only on that agent) did not run for almost a week & we did not notice that until the agent was back online.
So my question is, is there a way we can track when was the last time the loop run & based on that can we fail the loop ? To be specific, i am looking for a build failure type of condition to fail to loop if last run was more than one day (24 hrs).
Thanks in advance for the help.