1
0
Fork 0
mirror of https://github.com/capistrano/capistrano synced 2023-03-27 23:21:18 -04:00
capistrano/features
seenmyfate 7432c710b0 Add hook for deploy failure
If an error is raised during a deploy, the task `deploy:failed` will be
triggered.  Custom tasks can hook into this using `after`:

    after 'deploy:failed', :send_for_help do
      #
    end

I've also taken the opportunity to provide a marginally more useful
error message before triggering the task.

By default, this 'deploy:failed' will only be triggered when running
`cap <stage> deploy` - to trigger after individual tasks use `set
:deploying, true`

This closes #708 and replaces
https://github.com/capistrano/capistrano/pull/720
2013-11-01 12:24:36 +00:00
..
step_definitions Add hook for deploy failure 2013-11-01 12:24:36 +00:00
support Add hook for deploy failure 2013-11-01 12:24:36 +00:00
configuration.feature Allow configuration location to be configurable 2013-10-14 12:44:38 +01:00
deploy.feature Integration tests with Vagrant and Cucumber 2013-09-27 11:45:55 +01:00
deploy_failure.feature Add hook for deploy failure 2013-11-01 12:24:36 +00:00
installation.feature Integration tests with Vagrant and Cucumber 2013-09-27 11:45:55 +01:00
remote_file_task.feature Integration tests with Vagrant and Cucumber 2013-09-27 11:45:55 +01:00