namespace deploy
new_release_path
Generate the new release path name.
Configuration
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
Capistrano Default
will use the default releases-folder: /var/www/your-domain/releases/
= /var/www/your-domain/releases/20160610T1303-42/
or
= /var/www/your-domain/releases/20160610T1421-84/
failed
Handle deployment errors
Capistrano revert the bad code and redeploy, when a failed deployment situations. …
…
cleanup_rollback
Remove and archive rolled-back release.
…
fail
This task simulates a failing deployments. It is used for the tests - especially for testing the Rollback Manager.
Configuration
There is nothing to configure, the task simply raises an exception.
Usage
Example usage:
Output
A console output that the deployment has failed.