ContinuityApp

Create a Build Request

In order to trigger a build, you need to create a Build Request for a specific commit. Creating a Build Request will enqueue the task to test a commit with all the eligible test suites.

Auth&ACL

Both users and collaborators can access this API, via OAuth build_requests_create scope (or HTTP Basic Authentication for development purposes).

Definition

POST https://v1.continuityapp.ws/projects/<project_id>/build_requests

Arguments

There are no arguments for this request. The <commit_ref> is the commit identifier into your VCS: you commit and distribute your commit, then you call this API providing the commit reference.

Example request

$ curl https://v1.continuityapp.ws/projects/123456789123456789/build_requests?oauth_token=&lt;access_token&gt; \
    -X POST

Returns

A build request will be returned.

Example response

{
  "response": {
    "id": 123456789123456780,
    "id_str": "123456789123456780",
    "build_state":"enqueued",
    "created_by":"example@continuityapp.com",
    "created_at":"2012-05-28T08:24:39+02:00"
  }
}

Errors

There are no specific errors for this API.

comments powered by Disqus