From 92712d1b81133688db3f6b1040318f30137cee02 Mon Sep 17 00:00:00 2001 From: Ben McNicholl Date: Tue, 3 Dec 2024 13:17:19 +1100 Subject: [PATCH 1/3] information on hooks for hosted agent' --- pages/agent/v3/hooks.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pages/agent/v3/hooks.md b/pages/agent/v3/hooks.md index 6465c2df3f..de884bfb76 100644 --- a/pages/agent/v3/hooks.md +++ b/pages/agent/v3/hooks.md @@ -206,3 +206,6 @@ An example of a Windows `environment.bat` hook: ECHO "--- \:house_with_garden\: Setting up the environment" SET GITHUB_RELEASE_ACCESS_KEY='xxx' ``` +### Hooks on hosted agents + +Currently, hooks located on the agent are not available on hosted agents. Instead we recommend using plugin or repository based hooks. From b51374feed781bdf78b507f16f8c6413e2d16074 Mon Sep 17 00:00:00 2001 From: Ben McNicholl Date: Wed, 4 Dec 2024 13:28:13 +1100 Subject: [PATCH 2/3] Update pages/agent/v3/hooks.md Co-authored-by: Matt Ogle --- pages/agent/v3/hooks.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/agent/v3/hooks.md b/pages/agent/v3/hooks.md index de884bfb76..8852103233 100644 --- a/pages/agent/v3/hooks.md +++ b/pages/agent/v3/hooks.md @@ -208,4 +208,4 @@ SET GITHUB_RELEASE_ACCESS_KEY='xxx' ``` ### Hooks on hosted agents -Currently, hooks located on the agent are not available on hosted agents. Instead we recommend using plugin or repository based hooks. +Currently, hooks located on the agent are not available on hosted agents. Instead, we recommend using plugin or repository based hooks. From 60ceb6a65e867a85f380c44b9460baf0c5c6c3e8 Mon Sep 17 00:00:00 2001 From: Ben McNicholl Date: Thu, 5 Dec 2024 09:33:02 +1100 Subject: [PATCH 3/3] Update pages/agent/v3/hooks.md Co-authored-by: Giles Gas --- pages/agent/v3/hooks.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/agent/v3/hooks.md b/pages/agent/v3/hooks.md index 8852103233..ef82d05420 100644 --- a/pages/agent/v3/hooks.md +++ b/pages/agent/v3/hooks.md @@ -206,6 +206,6 @@ An example of a Windows `environment.bat` hook: ECHO "--- \:house_with_garden\: Setting up the environment" SET GITHUB_RELEASE_ACCESS_KEY='xxx' ``` -### Hooks on hosted agents +## Hooks on Buildkite hosted agents -Currently, hooks located on the agent are not available on hosted agents. Instead, we recommend using plugin or repository based hooks. +Currently, [Buildkite hosted agents](/docs/pipelines/hosted-agents) do not support [agent hooks](#hook-locations-agent-hooks). Instead, use either [repository](#hook-locations-repository-hooks)- or [plugin](#hook-locations-plugin-hooks)-based hooks with these types of agents.