We need the following in the triggers/conditions to start a build/stage.
Builds can run N number of times during the day (SVN Trigger)
At 5:00 PM we want the last successful build deployed.
So if the build was not triggered since the last deploy, or all the builds failed, it would not try to deploy.
We have a hacked together solution for FBS, that actually runs the deploy but it is smart enough to avoid deployment because of files written out that indicate success in the build that we had to create.
One way you can achieve this using 2 configurations. One builds the deliverables based on a repository checkin and places them in a known location, the other is triggered by a time trigger and takes those deliverables and deploys them. The deployment project can check whether it needs to do anything or not.
I believe we will be able to streamline this somewhat in the near future, so that the deploy project will not even run if it doesn’t need to, through the use of conditions. At the moment the conditions don’t have enough to work with, but they are designed so we can easily add features to them, checking info on other configurations and previous builds etc are certainly something we plan to add.