Skip to main content
Version: 7.x

Rollbar Recipe

require 'contrib/rollbar.php';

Source

Configuration

  • rollbar_token – access token to rollbar api
  • rollbar_comment – comment about deploy, default to
    set('rollbar_comment', '_{{user}}_ deploying `{{branch}}` to *{{target}}*');
  • rollbar_username – rollbar user name

Usage

Since you should only notify Rollbar channel of a successful deployment, the rollbar:notify task should be executed right at the end.

after('deploy', 'rollbar:notify');

Configuration

rollbar_comment

Source

Default value
'_{{user}}_ deploying `{{branch}}` to *{{target}}*'

Tasks

rollbar:notify

Source

Notifies Rollbar of deployment.