跳到主要内容

Rollbar integration

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

Rollbar pipeline example

信息

Buddy is a pipeline delivery automation tool that integrates with Rollbar and other notification services. Learn how to seamlessly introduce Buddy to your development workflow.

Setting up Rollbar integration:

  1. Log in to Rollbar and go to your account Settings.
  2. Switch to the Account Access Tokens and copy the read token: Rollbar access tokens tab
  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: Adding Rollbar integration
  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: Rollbar action configuration

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:

Project Access Tokens

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