Pārlūkot izejas kodu

Handle quotes in gradle arguments (#128548)

Ievgen Degtiarenko 4 mēneši atpakaļ
vecāks
revīzija
c14037985d

+ 1 - 1
.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

+ 1 - 1
.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 "$@"