The following features are supported for both BuildBuddy Workflows and Remote Bazel. Check individual docs for more product-specific features.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/buildbuddy-io/buildbuddy/llms.txt
Use this file to discover all available pages before exploring further.
Attaching artifacts to remote runs
To provide easy access to artifacts generated during remote runs, BuildBuddy supports a special directory called the artifacts directory. If you write files to this directory, BuildBuddy will automatically upload those files and show them in the UI for the remote run. You can get the path to the artifacts directory using the environment variable$BUILDBUDDY_ARTIFACTS_DIRECTORY.
Usage example
For example, Bazel supports several flags such as--remote_grpc_log that allow
writing additional debug logs and metadata files associated with an
invocation. To automatically upload these to our UI, you could run a command like:
Common artifacts to upload
Debug Logs
Upload Bazel’s gRPC logs, execution logs, or custom debug output for troubleshooting.
Test Reports
Generate and upload test coverage reports, JUnit XML files, or custom test analytics.
Build Artifacts
Store compiled binaries, packages, or other build outputs for later download.
Performance Data
Upload profiling data, timing reports, or benchmark results.
Fetching artifacts programmatically
If you’d like to fetch artifacts generated during a remote run programmatically, you can either:- External Storage
- BuildBuddy API
Upload the artifacts to a hosted storage site (like S3), where you can later fetch
the files using standard cloud storage APIs.Example:
Artifacts are subject to the same retention policies as other BuildBuddy cache data. Configure your cache retention settings in your organization settings.
Example: Uploading multiple artifacts
Here’s a complete example showing how to upload multiple types of artifacts:buildbuddy.yaml