From dc0b701a38e25273c37c82ea9e9bae35a9a9ff87 Mon Sep 17 00:00:00 2001 From: Pavel Zorin Date: Mon, 29 Jul 2024 12:20:16 +0200 Subject: [PATCH] [CI] Package Agentbeat on main and release branches (#40366) --- .buildkite/pipeline.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index 6c92fe98a92a..a4e204fb2a41 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -632,3 +632,10 @@ steps: - BUILDKITE_PULL_REQUEST=${BUILDKITE_PULL_REQUEST} - BUILDKITE_PULL_REQUEST_BASE_BRANCH=${BUILDKITE_PULL_REQUEST_BASE_BRANCH} - GITHUB_PR_LABELS=${GITHUB_PR_LABELS} + + - label: "Triggering Build for Agentbeat" + if: build.pull_request.id == null + trigger: "beats-xpack-agentbeat" + build: + commit: "${BUILDKITE_COMMIT}" + branch: "${BUILDKITE_BRANCH}"