1. Resources
  2. /
  3. Plugins
  4. /
  5. osc-7501-buildkite-plugin

OSC-7501 Buildkite plugin

Show a step’s OSC 7501 program reports in a job-level OSC-7501 Events annotation and upload chronological JSON to osc7501/<job-id>/events.v1.json.

Reads the agent’s local log in post-command. No command wrapping or REST API token required.

Usage

Requires a POSIX agent with Bash, Python 3.9+, OSC 7501 output, and a buildkite-agent version supporting annotate --scope job (verified in v4.8.1).

Enable the local log file in your agent configuration, then restart the agent:

enable-job-log-tmpfile=true
# Optional: agent lifecycle events and readable descriptions
experiment="program-status"

The hook needs access to BUILDKITE_JOB_LOG_TMPFILE, including across container mounts. Isolate its directory: log files have mode 0644. The plugin does not enable experiments or instrument commands.

steps:
  - command: ./run-tests
    plugins:
      - osc-7501#v1.0.0: ~

Configuration

include-details, default: false

Enable it to copy adjacent, matching, already-redacted readable descriptions.

[!WARNING] Reports are partial, not job status; reporting failures leave the command’s exit status unchanged. Adding the plugin copies log-derived data into annotations and artifacts with separate access and retention. Removing it does not delete existing copies. Artifact contents are not automatically redacted; unregistered secrets can remain.

Development

python3 -m unittest discover -s tests -v
bash -n hooks/post-command
python3 -I lib/report.py local tests/fixtures/failed.raw /tmp/osc7501-demo --include-details

The plugins listed on this webpage are provided for informational purposes only. They have not undergone any formal security review or assessment. While we strive to provide useful resources, we cannot guarantee the safety, reliability, or integrity of these plugins. Users are strongly advised to conduct their own security evaluations before downloading, installing, or using any plugin. By using these plugins, you acknowledge and accept any risks associated with their use. We disclaim any liability for any harm or damages arising from the use of the plugins listed.

You deserve better CI.

Get started for free with a full month of our all-access trial.

Buildkite Pipelines

Platform

  1. Pipelines
  2. Public pipelines
  3. Test Engine
  4. Package Registries
  5. Pricing

Hosting options

  1. Self-hosted agents
  2. Mac hosted agents
  3. Linux hosted agents
  4. Windows hosted agents

Resources

  1. Docs
  2. Blog
  3. Changelog
  4. Example pipelines
  5. Plugins
  6. Webinars
  7. Case studies
  8. Events
  9. Migration Services

Company

  1. About
  2. Careers
  3. Press
  4. Security
  5. Brand assets
  6. Contact

Solutions

  1. Replace Jenkins
  2. Workflows for MLOps
  3. Testing at scale
  4. Monorepo mojo
  5. Bazel orchestration

Compare

  1. All comparisons
  2. Buildkite vs GitHub Actions
  3. Buildkite vs Jenkins
  4. Buildkite vs CircleCI
  5. Buildkite vs Harness
  6. Buildkite vs CloudBees
  7. Buildkite vs Blacksmith
  8. Buildkite vs Depot
  9. Buildkite vs Dagger

Legal

  1. Terms of Service
  2. Acceptable Use Policy
  3. Privacy Policy
  4. Subprocessors
  5. Service Level Agreement
  6. Supplier Code of Conduct
  7. Modern Slavery Statement

Support

  1. System status
  2. Forum
© Buildkite Pty Ltd 2026