From 8f2285f1f9fc107e2c9c530f0c305cffc471317a Mon Sep 17 00:00:00 2001 From: "ievgen.degtiarenko" Date: Wed, 28 May 2025 09:08:20 +0200 Subject: [PATCH 1/2] Handle quotes in gradle arguments --- .ci/scripts/run-gradle.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/scripts/run-gradle.sh b/.ci/scripts/run-gradle.sh index b091c4a7c7d89..b19eec92449f9 100755 --- a/.ci/scripts/run-gradle.sh +++ b/.ci/scripts/run-gradle.sh @@ -41,4 +41,4 @@ else fi set -e -$GRADLEW -S --max-workers=$MAX_WORKERS $@ +$GRADLEW -S --max-workers=$MAX_WORKERS "$@" From da56da3b76ea7606ce59b8c60217c1bbd8f04b71 Mon Sep 17 00:00:00 2001 From: "ievgen.degtiarenko" Date: Wed, 28 May 2025 09:53:04 +0200 Subject: [PATCH 2/2] Update gradle command --- .buildkite/pipelines/periodic-micro-benchmarks.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.buildkite/pipelines/periodic-micro-benchmarks.yml b/.buildkite/pipelines/periodic-micro-benchmarks.yml index 102fa2483b7b6..29997ab192178 100644 --- a/.buildkite/pipelines/periodic-micro-benchmarks.yml +++ b/.buildkite/pipelines/periodic-micro-benchmarks.yml @@ -1,7 +1,7 @@ steps: - label: periodic-micro-benchmarks command: | - .ci/scripts/run-gradle.sh -p benchmarks/ run --args 'org.elasticsearch.benchmark._nightly -rf json -rff build/result.json' + .ci/scripts/run-gradle.sh :benchmarks:run --args 'org.elasticsearch.benchmark._nightly -rf json -rff build/result.json' timeout_in_minutes: 300 agents: provider: gcp