buildkite-agent
TypeScript icon, indicating that this package has built-in type declarations

1.2.0 • Public • Published

buildkite-agent for Node.js

CI npm

Access Buildkite agent commands from Node.js. This is a more up-to-date version of the Buildkite Agent Node package that has zero vulnerabilities.

The buildkite-agent binary has 2 roles: running builds and communicating additional information (Annotations, artifacts, ...) from a build to the agent running the build.

This project target is to provide access to the second set of commands from Node.js without needing the agent binary.

Supported features

The library is currently in development without any stable release and only a small subset of the agent commands is implemented.

Examples

Adding an annotation:

import { annotate, AnnotationStyle } from 'buildkite-agent-node';

annotate('Hello world 👋!', {
    context: 'example',
    style: AnnotationStyle.Success
});

Users

License

This project is using the MIT license.

Readme

Keywords

Package Sidebar

Install

npm i buildkite-agent

Weekly Downloads

14

Version

1.2.0

License

MIT

Unpacked Size

30.5 kB

Total Files

13

Last publish

Collaborators

  • 6mile
  • linus-tickles