Notify Bugsnag of deploys using Rake.
bugsnag-capistrano Ruby gem to your
Don’t forget to run
bundle install after updating your
bugsnag-capistrano/tasks in your Rakefile:
BUGSNAG_API_KEY environment variable with your project’s API key.
bugsnag:deploy task to send deployments to Bugsnag.
rake bugsnag:deploy BUGSNAG_RELEASE_STAGE=production \ BUGSNAG_APP_VERSION=1.0.2
All configuration options are available as environment variables, or are set automatically if Bugsnag has already been configured and will run before the task.
||Your Bugsnag API key (required)|
||The app version of the code being deployed|
||The source control branch the code is being deployed from|
||The release stage (e.g. production, staging)|
||The source control revision of the deploying code|
||The repository URL the code is being deployed from|