-
Notifications
You must be signed in to change notification settings - Fork 314
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolve JAVA_HOME for source builds lazily (#1027)
With this commit we resolve JAVA_HOME lazily when attempting to build Elasticsearch. When a source build is externally provided to Rally's source artifact cache, there is no need to actually build it. However, if the target system does not have any JDK installed and we attempt to install Elasticsearch, the build subsystem is eagerly initialized (despite the artifact being already cached) and is complaining that it cannot find a JDK to build the artifact. By lazily resolving JAVA_HOME we avoid that error.
- Loading branch information
1 parent
b59bc09
commit ec2f8a2
Showing
2 changed files
with
24 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters