about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ops/pipelines/static-pipeline.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/ops/pipelines/static-pipeline.yaml b/ops/pipelines/static-pipeline.yaml
index 9f9a93c658..4924569b62 100644
--- a/ops/pipelines/static-pipeline.yaml
+++ b/ops/pipelines/static-pipeline.yaml
@@ -8,6 +8,12 @@ steps:
   - label: ":llama:"
     command: |
       set -ue
+
+      if test -n "$${GERRIT_CHANGE_URL-}"; then
+        echo "This is a build of [cl/$$GERRIT_CHANGE_ID]($$GERRIT_CHANGE_URL) (at patchset #$$GERRIT_PATCHSET)" | \
+          buildkite-agent annotate
+      fi
+
       nix-build -A ops.pipelines.depot -o pipeline --show-trace
 
       # Steps need to be uploaded in reverse order because pipeline