Skip to content

Commit

Permalink
Add Java bin into PATH as well
Browse files Browse the repository at this point in the history
  • Loading branch information
HyukjinKwon committed Aug 14, 2019
1 parent 88014ed commit de5a4a2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dev/run-tests-jenkins.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,10 @@ def main():
if "test-hadoop3.2" in ghprb_pull_title:
os.environ["AMPLAB_JENKINS_BUILD_PROFILE"] = "hadoop3.2"

# Test with Java11
# Test with Java 11
if "test-java11" in ghprb_pull_title:
os.environ["JAVA_HOME"] = "/usr/java/jdk-11.0.1"
os.environ["PATH"] = "%s/bin:%s" % (os.environ["JAVA_HOME"], os.environ["PATH"])

build_display_name = os.environ["BUILD_DISPLAY_NAME"]
build_url = os.environ["BUILD_URL"]
Expand Down

0 comments on commit de5a4a2

Please sign in to comment.