Show a build

{
  "base":     "\https://api.buddybuild.com/v1",
  "endpoint": "/builds/:build_id:",
  "method":   "get",
  "params": {
    "headers": [
      {
        "name": "Authorization",
        "type": "Bearer :api-access-token:",
        "req":  true,
        "cue":  "Enter your API access token"
      }
    ],
    "path":   [
      {
        "name": ":build_id:",
        "type": "string",
        "desc": 'Build identifier',
        "req":  true,
        "cue":  'Enter a build id'
      }
    ],
    "query":  [],
    "body":   []
  },
  "authentication": "required"
}

Definition

Placeholder for the definition; auto-generated from JSON above.

Use this method to show a build with a specified build_id.

You can use this method together with the Trigger a build API, which returns a build_id in the response.

See also:

Note

Looking for your API access token?

Parameters

Required = *

Placeholder for the endpoint parameters; auto-generated from JSON above.

curl
curl -X GET \
  -H 'Authorization: Bearer :api-access-token:' \
  'https://api.buddybuild.com/v1/builds/:build_id:'
jquery
var settings = {
  "async": true,
  "crossDomain": true,
  "url": "https://api.buddybuild.com/v1/builds/:build_id:",
  "method": "GET",
  "headers": {
    "authorization": "Bearer :api-access-token:"
  }
}
$.ajax(settings).done(function (response) {
  console.log(response);
});
Response
{
  "_id": "58b899061baced0100616172",
  "app_id": "58b897fb1baced010061616e",
  "repo_url": "git@github.com:myorg/2048.git",
  "build_status": "failed",
  "finished": true,
  "commit_info": {
    "tags": [],
    "branch": "master",
    "commit_sha": "54a9faeccc0979aaa16f3226562a24fb3330e9f0",
    "author": "David Pie",
    "message": "Add new crash type",
    "html_url": "https://github.com/myorg/2048/commit/54a9faeccc0979aaa16f3226562a24fb3330e9f0"
  },
  "build_number": 2,
  "created_at": "2017-03-02T22:13:26.728Z",
  "started_at": "2017-03-02T22:15:11.381Z",
  "finished_at": "2017-03-02T22:20:06.432Z",
  "test_summary": {
    "tests_count": 10,
    "tests_passed": 9,
    "code_coverage_percentage": 0.6878079796534735
  },
  "links": {
    "download": [
      {
        "name": "m2048 - Release",
        "url": "https://dashboard.buddybuild.com/api/download/download-ipa?buildID=58b899061baced0100616172"
      }
    ],
    "install": [
      {
        "name": "m2048 - Release",
        "url": "https://dashboard.buddybuild.com/download/ios?buildID=58b899061baced0100616172"
      }
    ]
  },
  "pull_request_destination_commit_info": {
    "html_url": "https://github.com/myorg/2048/commit/54a9faeccc0979aaa16f3226562a24fb3330e9f0";,
    "message": "Change logo",
    "author": "David Pie",
    "commit_sha": "0b7eaf47fa20abddaca00ddec0d36f9be31a9ad0b7e7",
    "branch": "master",
    "merge_status": "unknown",
    "tags": []
  }
}

results matching ""

    No results matching ""