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

1 Like
#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%"
1 Like
#4

Yeah this would be great, it feels like trends are another piece of this that would be helpful. So, not just the latest coverage but the last N values as well. A similar chart to the “health” chart on the main pipeline page could work.

1 Like