From 43a93e2cc0a28d5b0f9f6ea0b9568ceaa1f5e7f6 Mon Sep 17 00:00:00 2001 From: 1Copenut Date: Wed, 15 Nov 2023 12:32:06 -0600 Subject: [PATCH] Adding link to Buildkite hooks in trigger scripts. --- .buildkite/hooks/post-command | 3 +++ .buildkite/hooks/pre-command | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.buildkite/hooks/post-command b/.buildkite/hooks/post-command index e5296665652..c2d49526bce 100644 --- a/.buildkite/hooks/post-command +++ b/.buildkite/hooks/post-command @@ -1,5 +1,8 @@ #!/bin/bash +# This script is executed automatically by the Buildkite agent after "command" step +# https://buildkite.com/docs/agent/v3/hooks + if [[ "$BUILDKITE_AGENT_NAME" =~ ^bk-agent ]]; then source .buildkite/scripts/lifecycle/post_command.sh else diff --git a/.buildkite/hooks/pre-command b/.buildkite/hooks/pre-command index aa709668253..6908a181ddf 100644 --- a/.buildkite/hooks/pre-command +++ b/.buildkite/hooks/pre-command @@ -1,5 +1,8 @@ #!/bin/bash +# This script is executed automatically by the Buildkite agent before "command" step +# https://buildkite.com/docs/agent/v3/hooks + if [[ "$BUILDKITE_AGENT_NAME" =~ ^bk-agent ]]; then source .buildkite/scripts/lifecycle/pre_command.sh else