Added two things:
Added two things:

    1) Pass the Environments "Guided Failure" setting to the projects being run by the template. This makes sure the chain honors the environment configuration settings and doesn't just ignore them.
    2) When "Chain_WaitForDeployment" is to true, also check the the status of the deployment after it completes and if the deployment doesn't have a status of "Success" throw an error to also fail the Chain Deployment Project.

red-gate/Library,red-gate/Library