Skip to content

Commit

Permalink
Update run gradle check groovy libs with java_home.sh sourcing
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Zhu <[email protected]>
  • Loading branch information
peterzhuamazon committed Oct 25, 2023
1 parent 9008a8c commit c97da3c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions vars/runGradleCheck.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c97da3c

Please sign in to comment.