How to use Stage Gate Logic

I'm having troubles trying to figure out stage gate logic (in Build 896).

http://wiki.finalbuilder.com/display/continua/Stages

The on-line documentation doesn't include enough examples for me to use this feature (or test the endless possibilities).

Problem I'm trying to resolve for stage gates

  1. I have a project with 2 global repo's for a project
  2. Repo A contains all my FB project files.
  3. Repo B contains the VS .net project source files.
  4. If I monitor both those repo's for changes, the build should detect changes from either repository.
  5. In stage one (Build), I'm happy that all the repo's are updated with the latest bits and we open a specific FB project file that does all the hard core work on repo B.
  6. At the end I want the stage to tell me that the FB project file complete successfully to move to the next stage (Testing).

What is the Stage Gate "logic" to allow for this workflow?

Hi Jamie

You do not need to use the stage gate for this. The FinalBuilder action will fail the build if the FinalBuilder project fails for any reason, so it will not continue on to the next Test stage if the Build stage completes.

The Stage Gate feature is really designed to test against metrics produced by the stage, the default rules stop a build from continuing to the next stage if there are any failing or errored unit tests. At this point in time there is not much there to test against (only unit test and compiler metrics), however our plan is to add more information to the $Stage$ object descripter over time.

FinalBuilder also writes any metrics it generates out to Continua as well. This is also something we plan to improve on over time as well.