Generate the new release path name.
Optionally a suffix could be added to the release path.
For this set the environment variable BUILD_TAG to enable this suffix. If the suffix is enabled, JOB_NAME and BUILD_NUMBER
will use the default releases-folder: /var/www/your-domain/releases/
Handle deployment errors
Capistrano revert the bad code and redeploy, when a failed deployment situations. …
Remove and archive rolled-back release.
This task simulates a failing deployments. It is used for the tests - especially for testing the Rollback Manager.
There is nothing to configure, the task simply raises an exception.
A console output that the deployment has failed.