Rolling back

Sean Chambers's Avatar

Sean Chambers

19 Sep, 2011 08:41 PM

Is there a way I can detect if a deployment has failed? Reason being is if the deployment fails I have some housekeeping tasks that I need to perform (like rolling back any database migrations that were applied through FluentMigrator) and the only way to perform this is if I know the deployment failed.

This may be more of a feature request. Not sure.

  1. Support Staff 1 Posted by Paul Stovell on 20 Sep, 2011 09:20 AM

    Paul Stovell's Avatar

    Hi Sean,

    There isn't at the moment. I'll introduce a DeployFailed.ps1 convention that will be run at the end of a failed deployment.

    Paul

  2. Paul Stovell closed this discussion on 04 Jan, 2017 08:39 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac