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.
The library is currently in development without any stable release and only a small subset of the agent commands is implemented.
Adding an annotation:
import { annotate, AnnotationStyle } from 'buildkite-agent-node';
annotate('Hello world 👋!', {
context: 'example',
style: AnnotationStyle.Success
});
- jest-buildkite-reporter Report Jest test results to Buildkite as annotations.
This project is using the MIT license.