Search results for "{{ search.query }}"

No results found for "{{search.query}}". 
View All Results

Codeship Integration

Codeship is a hosted continuous delivery service that focuses on speed, reliability and simplicity. It supports a variety of programming languages (Ruby on Rails, Node.js, PHP, Java, Go, Dart, etc.) and deployment platforms (Amazon Web Services, Heroku, Google App Engine, etc.). The practice of continuous integration involves repeated automated testing and code merging with notifications to alert developers to problems in their code in real time. Codeship combines this with the practice of continuous delivery, which provides for regular code deployment once changes have passed automated tests. Essentially, when you push your code to GitHub (or Bitbucket), Codeship rebuilds your application on its secure servers and runs your automated tests. If the tests fail, it notifies your development team via email or integration.

What does OpsGenie offer Codeship users?

By using OpsGenie Codeship Integration, you can forward Codeship build alerts to OpsGenie. OpsGenie can determine the right people to notify based on on-call schedules, using email, text messages (SMS), phone calls and iOS & Android push notifications, and escalating alerts until the alert is acknowledged or closed.

Functionality of the integration

  • When a build alert is created in Codeship, an alert is created in OpsGenie automatically through the integration.

Add Codeship Integration to OpsGenie

  1. Please create an OpsGenie account if you haven't done already
  2. Go to OpsGenie Codeship Integration page,
  3. Specify who should be notified for Codeship alerts using the "Teams" field. Auto-complete suggestions will be provided as you type.
  4. Click on "Save Integration".

Configuration in Codeship Pro

Configuring Build Notifications

To configure build notifications in Codeship, go to your Project Settings and then click on the Notifications tab.

If you want to add more rules to an existing branch (or branch match) click the add button to the right of the branch name. If you want to add rules for a new branch (or branch match) click the big new notification button at the bottom of the page.

In case you no longer want to have a specific rule trigger notifications, you can either disable it (use the toggle on the right-hand side) or delete it completely.

Common Configuration

All rules apply to either “All Branches”, a names branch, or a branch match. If the field is left empty, the rule will apply to all branches.

Additionally, all rules can select between started, failed, succeeded, and recovered as events that trigger a notification. You must select at least one event in order to save the rule.

started -> sends a notification when a new build is triggered
failed -> sends a notification if a build fails for some reason
succeeded -> sends a notification if the build finishes successfully
recovered -> sends a notification if the previous build failed, but the current build succeeded

Codeship sends build data using Webhook Services

Sample Webhook Message from OpsGenie Codeship Plugin

  "build": {
    "message":"Merge pull request #34 from codeship/feature/shallow-clone",

The status field can have one of the following values:

initiated for newly started build
error for failed builds
success for passed builds
stopped for stopped builds
waiting for waiting builds
ignored for builds ignored because the account is over the monthly build limit
blocked for builds blocked because of excessive resource consumption
infrastructure_failure for builds which failed because of an internal error on the build VM

For more information, please refer to Codeship's Manage Notification and Codeship's OpsGenie Integration Doc

Sample alert

Codeship Integration