Code Review
/
releng
/
builder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Revert "Update the Ubuntu 16.04 kubernetes images""
[releng/builder.git]
/
jjb
/
integration
/
distribution
/
distribution-check-bootup.sh
diff --git
a/jjb/integration/distribution/distribution-check-bootup.sh
b/jjb/integration/distribution/distribution-check-bootup.sh
index 36bbfd705d6075366f51cfdc7768e4bf5199f073..6ab50cfb389161cf82ca817635beb5ce7ae02033 100644
(file)
--- a/
jjb/integration/distribution/distribution-check-bootup.sh
+++ b/
jjb/integration/distribution/distribution-check-bootup.sh
@@
-55,7
+55,10
@@
cat "${MEMCONF}"
echo "Listing all open ports on controller system"
netstat -pnatu
echo "Listing all open ports on controller system"
netstat -pnatu
-if [ "${JDKVERSION}" == 'openjdk8' ]; then
+if [ "$JDKVERSION" == 'openjdk11' ]; then
+ echo "Preparing for JRE Version 11"
+ JAVA_HOME="/opt/jdk-11"
+elif [ "${JDKVERSION}" == 'openjdk8' ]; then
echo "Setting the JRE Version to 8"
# dynamic_verify does not allow sudo, JAVA_HOME should be enough for karaf start.
# sudo /usr/sbin/alternatives --set java /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.60-2.b27.el7_1.x86_64/jre/bin/java
echo "Setting the JRE Version to 8"
# dynamic_verify does not allow sudo, JAVA_HOME should be enough for karaf start.
# sudo /usr/sbin/alternatives --set java /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.60-2.b27.el7_1.x86_64/jre/bin/java