buildkite-cli

0.0.1-1 • Public • Published

Buildkite CLI for Node.js

Work in progress!

Access the Buildkite API commands from Node.js.

This project will expose the publically available Buildkite APIs (REST API and GraphQL API) as well as provides additional helpful utility commands for common use cases (e.g. retrying failing jobs).

These can be consumed programmatically via module imports, or from the command line (via npx).

Setup

A valid Buildkite API token is required for use. You can create ane edit API Access tokens here.

Once generated, add the following to your ~/.bashrc (or equivalent):

export BUILDKITE_API_TOKEN="<TOKEN>"

Examples

Retry all failed jobs for a build:

$ npx buildkite-cli retry <BUILDKITE_URL>

Readme

Keywords

none

Package Sidebar

Install

npm i buildkite-cli

Weekly Downloads

0

Version

0.0.1-1

License

ISC

Unpacked Size

6.03 kB

Total Files

8

Last publish

Collaborators

  • alexmsmithca