Skip to content

Commit

Permalink
Use BUILD_JAVA_HOME FOR JAVA_HOME in xpack integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
robbavey authored and elasticsearch-bot committed Jun 4, 2020
1 parent 48eaec7 commit 7b935bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions x-pack/ci/integration_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export CI=true

if [ -n "$BUILD_JAVA_HOME" ]; then
GRADLE_OPTS="$GRADLE_OPTS -Dorg.gradle.java.home=$BUILD_JAVA_HOME"
export JAVA_HOME="$BUILD_JAVA_HOME"
fi

./gradlew runXPackIntegrationTests

0 comments on commit 7b935bc

Please sign in to comment.