Skip to content

Commit

Permalink
print java version in the end of packer build for better logs
Browse files Browse the repository at this point in the history
  • Loading branch information
gbhat618 committed Jan 2, 2025
1 parent fd95fb5 commit 3071eae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions testimages/linux/install-java.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ install_java() {
apt-get update
# jre is sufficient in the integration tests (jdk would be required if we are building a java projects inside the agent.)
apt-get install -y temurin-21-jre
java -version

if [[ "$AGENT_IMAGE" == *non-standard-java ]]; then
sudo mv /usr/bin/java /usr/bin/non-standard-java
Expand Down

0 comments on commit 3071eae

Please sign in to comment.