Skip to content
This repository was archived by the owner on Jan 10, 2023. It is now read-only.

Commit 272b259

Browse files
committed
Merge pull request #125 from linc01n/hotfix/java-path
Fix hard-coded JAVA_HOME ENV
2 parents 2b4c654 + e4ceacb commit 272b259

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/default/bitbucket/setenv.sh.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ if [ "x${BITBUCKET_HOME}" = "x" ]; then
1212
fi
1313

1414
if [ "x${JAVA_HOME}" = "x" ]; then
15-
export JAVA_HOME=/usr/lib/jvm/jdk1.8.0_51/jre
15+
export JAVA_HOME="<%= node['java']['java_home'] %>"
1616
fi
1717

1818
#

0 commit comments

Comments
 (0)