Skip to content

Commit de5a4a2

Browse files
committed
Add Java bin into PATH as well
1 parent 88014ed commit de5a4a2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dev/run-tests-jenkins.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,9 +184,10 @@ def main():
184184
if "test-hadoop3.2" in ghprb_pull_title:
185185
os.environ["AMPLAB_JENKINS_BUILD_PROFILE"] = "hadoop3.2"
186186

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

191192
build_display_name = os.environ["BUILD_DISPLAY_NAME"]
192193
build_url = os.environ["BUILD_URL"]

0 commit comments

Comments
 (0)