Annotate Pipeline Dashboard


#1

I would like to use the pipeline dashboard page buildkite.com/:org/:pipeline to display more information about the state of the pipeline.

I think it would be great if I could use the buildkite-agent annotate command to do this. Something along the lines of:

buildkite-agent annotate --target=pipeline-dashboard ...

But instead of annotating the current build, it could replace/append to the pipeline dashboard annotations


#2

Instead you could use the argument as a key to replace existing annotations:

buildkite-agent annotate --key=coverage "Coverage: 99%"
buildkite-agent annotate --key=coverage "Coverage: 98%"
buildkite-agent annotate --key=tests "Tests: 9000"

Result:

Coverage: 98%

Tests: 9000


#3

Instead you could use the argument as a key to replace existing annotations

Ooooh I would love a --key flag, but I think I’d like it on both the main dashboard and on individual pipelines.

buildkite-agent annotate --target=pipeline --key=coverage "Coverage: 99%"
buildkite-agent annotate --target=dashboard --key=coverage "Coverage: 99%"