Skip to content

Commit

Permalink
Adding link to Buildkite hooks in trigger scripts.
Browse files Browse the repository at this point in the history
  • Loading branch information
1Copenut committed Nov 15, 2023
1 parent b7175c0 commit 43a93e2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .buildkite/hooks/post-command
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 3 additions & 0 deletions .buildkite/hooks/pre-command
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 43a93e2

Please sign in to comment.