diff --git a/.buildkite/scripts/steps/beats_tests.sh b/.buildkite/scripts/steps/beats_tests.sh index 5b714864c8b..1e4c2c77cf5 100755 --- a/.buildkite/scripts/steps/beats_tests.sh +++ b/.buildkite/scripts/steps/beats_tests.sh @@ -1,12 +1,14 @@ #!/usr/bin/env bash set -euo pipefail +export WORKSPACE=build/beats/x-pack/metricbeat + source .buildkite/scripts/common.sh mkdir -p build cd build git clone git@github.com:elastic/beats.git +cd beats -cd beats/x-pack/metricbeat SNAPSHOT=true PLATFORMS=linux/amd64,linux/arm64,windows/amd64 PACKAGES=tar.gz,zip mage package \ No newline at end of file