carpenterd-api-client is an API client for the
carpenterd build service.
carpenterd-api-client from the npm registry:
npm install --save carpenterd-api-client
In all examples we assume that you've already initialized the client as followed:
'use strict';var Carpenter = ;var carpenter = 'url-to-the-service';
As you can see in the example above, the
Carpenter constructor requires one
- The URL of the carpenter API where we should send the requests to.
Trigger a new build on carpenter service. The data provided should have
the same structure and signature as
npm publish posted JSON.
Cancel a build on carpenter service.