Webhook notifications

Set up webhook notifications

Webhooks allow external services to be notified when a project status changes on Nevercode. By using this feature, you can create custom integrations, such as HW Dashboards for Nevercode.

To set up a webhook:

  1. Navigate to the Notifications tab in your project settings.
  2. Select Webhook notifications from the list.
  3. Enter an URL in the Payload URL field to where Nevercode should make requests and click Save.

Webhook notifications panel

When your project builds successfully or not, we will send a JSON encoded POST request to the URL you specified.

An example of the request is here:

{
  "project": {
    "id": "project_id",
    "name": "nevercode-iOS",
    "platform": "ios",
    "repository": "https://github.com/GreenhouseCI/greenhouse-ios",
    "web_url": "https://app.nevercode.io/#/project/project_id"
  },
  "build_config": {
    "id": "build_config_id",
    "branch": "dev",
    "project_file": "greenhouse-ios.xcodeproj",
    "target": "greenhouse-ios"
  },
  "build": {
    "id": "build_id",
    "artefacts": [
      {
        "url": "https://files.greenhouseci.com/projects/project_id/builds/build_id/artefacts/greenhouse-ios_1.0.zip",
        "checksum": "9b1aa48188d1d0a65ba1f30108718f4c",
        "created_at": "2014-10-27T11:05:40Z",
        "type": "bundle",
        "filename": "greenhouse-ios_1.0.zip"
      },
      {
        "url": "https://files.greenhouseci.com/projects/project_id/builds/build_id/artefacts/greenhouse-ios_1.0.ipa",
        "checksum": "066c756e3bbf1443c12e154b1c52e48d",
        "created_at": "2014-10-27T11:05:41Z",
        "type": "ipa",
        "filename": "greenhouse-ios_1.0.ipa"
      }
    ],
    "build_number": 52,
    "changes": [
      {
        "author": "John Smith",
        "commit_hash": "6d411374b8a7c38f70c3c42b0f2cd4e8363f3fd8"
        "datetime": "2014-10-27T11:05:40Z"
        "description": "Fixed issue 819",
      }
    ],
    "commit_hash": "5b29b438c042ca44b32e04766afe122555e50332",
    "created_at": "2014-10-27T11:04:48Z",
    "error_message": "",
    "finished_at": "2014-10-27T11:05:43Z",
    "started_at": "2014-10-27T11:04:51Z",
    "status": "success",
    "tests": {
      "errors": 0,
      "failed": 2,
      "passed": 21,
      "skipped": 0
    },
    "version": "1.0",
    "web_url": "https://app.nevercode.io/#/project/project_id/config/build_config_id/build/build_id"
  }
}

Updated about a year ago

Webhook notifications


Set up webhook notifications

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.