diff --git a/vars/runGradleCheck.groovy b/vars/runGradleCheck.groovy index 54f7bf136..70d8d48c3 100644 --- a/vars/runGradleCheck.groovy +++ b/vars/runGradleCheck.groovy @@ -29,6 +29,10 @@ void call(Map args = [:]) { set -e set +x + if [ -f "/etc/profile.d/java_home.sh" ]; then + . /etc/profile.d/java_home.sh + fi + echo "Git clone: ${git_repo_url} with ref: ${git_reference}" rm -rf search git clone ${git_repo_url} search