Skip to content

Commit eb48dab

Browse files
committed
[TEST] Fix jq syntax for numeric branches (e.g. 2.2)
1 parent c08b08b commit eb48dab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

travis/download_and_run_es.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ killall java 2>/dev/null
1010

1111
echo "Downloading Elasticsearch v${ES_VERSION}-SNAPSHOT..."
1212

13-
ES_URL=$(curl -sS "https://esvm-props.kibana.rocks/builds" | jq -r ".branches.$ES_VERSION.zip")
13+
ES_URL=$(curl -sS "https://esvm-props.kibana.rocks/builds" | jq -r ".branches[\"$ES_VERSION\"].zip")
1414

1515
curl -L -o elasticsearch-latest-SNAPSHOT.zip $ES_URL
1616
unzip "elasticsearch-latest-SNAPSHOT.zip"

0 commit comments

Comments
 (0)