Run Elasticsearch in JDK11 by default in the Jenkinsfile

Description

There's this warning in the logs:

We already have the necessary options in the Jenkinsfile to start Elasticsearch with a different Java home. Let's just make the ES Java home a constant and force it regardless of the tested JDK (default build, but also every other build that may start a local Elasticsearch instance).

Only necessary for Search 6.

Environment

None

Status

Assignee

Yoann Rodière

Reporter

Yoann Rodière

Labels

None

Suitable for new contributors

None

Feedback Requested

None

Components

Fix versions

Priority

Major
Configure