Bamboo Integration

Bamboo is a continuous integration and deployment tool that ties automated builds, tests, and releases together in a single workflow.

532

What does Opsgenie offer Bamboo users?

Opsgenie has an email integration with Bamboo. Use the integration to send Bamboo notifications to Opsgenie, as alerts, with detailed information. Opsgenie acts as a dispatcher for Bamboo notifications, determines the right people to notify based on on-call schedules– notifies via email, text messages (SMS), phone calls, and iPhone & Android push notifications, and escalates alerts until the alert is acknowledged or closed.

This document describes how to configure the integration and details of data that Opsgenie receives from Bamboo.

Functionality of the integration

  1. When an event with "FAILED" or "NOT BUILT" status is created via notifications' mechanism in Bamboo, an alert is created in Opsgenie automatically through the email integration.
  2. When an event with "SUCCESSFUL" status is created via notifications' mechanism in Bamboo, the corresponding alert, if it exists, is closed in Opsgenie automatically through the email integration.
  3. When an event with "commented" status is created via notifications' mechanism in Bamboo, a note is added to the corresponding alert, if it exists, in Opsgenie automatically through the email integration.

Configuring Opsgenie side of the integration

  1. Please create an Opsgenie account if you haven't done so already.
  2. Go to Opsgenie Bamboo Integration page.

🚧

For Free and Essentials plans, you can only add the integrations from the Team Dashboards, please use the alternative instructions given below to add this integration.

  1. Copy the email address field for configuring Bamboo with this integration.
  2. Specify who is notified of Bamboo alerts using the Teams field. Auto-complete suggestions are provided as you type.

📘

An alternative for Step 2) and Step 4) is to add the integration from the Team Dashboard of the team which will own the integration. To add an integration directly to a team, navigate to the Team Dashboard and open Integrations tab. Click Add Integration and select the integration that you would like to add.

  1. Click Save Integration.
2727

Configuration in Bamboo

  1. If Bamboo's SMTP is not configured to send emails, then please do so by following the instructions at Configuring Bamboo to send SMTP Email.
  2. After configuring Bamboo's SMTP, click All build plans under the "Build" menu on the Bamboo dashboard.
  3. Click the edit icon in front of the desired build plan for which to receive Opsgenie alerts.
  4. Access the "Notifications" tab.
  5. Click Add notification.
  6. Select the desired Event for which to receive an alert in Opsgenie.
  7. Select Email Address in the "Recipient type" field.
  8. Paste the email address copied previously from Opsgenie's integration's page into the "Email Address" field.
  9. Click Add to save the notification setting.