set the 1.2 API to actually be used as the default
This commit is contained in:
@ -71,12 +71,11 @@ function manage_es {
|
||||
local ES_URL="https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-${ES_RELEASE}.zip"
|
||||
local ES_DIR="${SNAPSHOTS}/${ES_VERSION}"
|
||||
else
|
||||
if [[ $ES_BRANCH == "master" ]]; then
|
||||
local JDK='JDK7'
|
||||
elif [[ $ES_BRANCH == "1.x" ]]; then
|
||||
local JDK='JDK7'
|
||||
else
|
||||
local JDK='JDK6'
|
||||
# TODO: TRASH THIS
|
||||
if [[ $ES_BRANCH == "master" ]]; then local JDK='JDK7'
|
||||
elif [[ $ES_BRANCH == "1.x" ]]; then local JDK='JDK7'
|
||||
elif [[ $ES_BRANCH == "1.2" ]]; then local JDK='JDK7'
|
||||
else local JDK='JDK6'
|
||||
fi
|
||||
|
||||
local ES_VERSION="${ES_BRANCH}_nightly"
|
||||
|
||||
Reference in New Issue
Block a user