From 4875481df88273a6c712edb2c6c109961e67c299 Mon Sep 17 00:00:00 2001 From: Pavel Zorin Date: Fri, 19 Jul 2024 19:47:32 +0200 Subject: [PATCH] [CI] Fix DRA variables (#5180) (cherry picked from commit acfed1974a4dcb265783d5a177b94e97cd3a5720) --- .buildkite/pipeline.elastic-agent-package.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.buildkite/pipeline.elastic-agent-package.yml b/.buildkite/pipeline.elastic-agent-package.yml index 25c538f25f9..a93bd058091 100644 --- a/.buildkite/pipeline.elastic-agent-package.yml +++ b/.buildkite/pipeline.elastic-agent-package.yml @@ -126,6 +126,10 @@ steps: DRA_VERSION=$(buildkite-agent meta-data get DRA_VERSION --default "") export DRA_VERSION fi + if [[ -z "$${DRA_WORKFLOW}" ]]; then + DRA_WORKFLOW=$(buildkite-agent meta-data get DRA_WORKFLOW --default "") + export DRA_WORKFLOW + fi .buildkite/scripts/steps/dra-publish.sh - label: "Publishing via BK API for Independent Agent Release"