Knowledge

How to track deployments with Rollbar?

Adding the Rollbar integration to your pipeline will allow you to track deployments by sending automatic notifications to your Rollbar project.

  1. Log in to Rollbar and go to your account settings
  2. Switch to the Account Access Tokens and copy the read token:

  3. Go to the pipeline with the deployment action that you want to track in Buddy
  4. Click + at the end of the pipeline and select Rollbar from the Notifications section
  5. A pop-up will appear. Enter the name of your Rollbar account and paste the token:

  6. The next step is configuring the application. Select the Rollbar project to which you want to send the notifications and set up the variables to post (Click here for the full list of Buddy parameters):

  7. Click Add this action when ready. Your pipeline should look like this:

Congratulations! You have successfully added deploy tracking to your pipeline.

How to add another Rollbar account

If you wish you can add multiple Rollbar accounts to Buddy. Just click + Add another Rollbar account in the action details:

Solving problems with tokens

Buddy requires a token with the post_server_item scope in your Rollbar project to send deployments. If you don’t have such token in the project you will receive the following message:

This action requires a token with the “post_server_item” scope. Please add the token in your Rollbar project settings and refresh.

To solve this, go to the project’s settings in your Rollbar account, switch to the Project Access Tokens tab, and add a new token with the missing scope:

When done, refresh your browser and Buddy will automatically pick up the token with the correct scope.

Get started now

14 days of unlimited trial. No credit card required.