X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fintegration%2Fdistribution%2Fdistribution-check-bootup.sh;h=e3147f335e64e9ca9a2161064aa92606f4ce3906;hb=7581f24dee995645d3ca2d1b089b5c4047553e54;hp=36bbfd705d6075366f51cfdc7768e4bf5199f073;hpb=6181ae15d4dc986b88a03d1d39fce38f3101bc7a;p=releng%2Fbuilder.git diff --git a/jjb/integration/distribution/distribution-check-bootup.sh b/jjb/integration/distribution/distribution-check-bootup.sh index 36bbfd705..e3147f335 100644 --- a/jjb/integration/distribution/distribution-check-bootup.sh +++ b/jjb/integration/distribution/distribution-check-bootup.sh @@ -1,8 +1,13 @@ -CONTROLLERMEM="3072m" -ACTUALFEATURES="odl-integration-all" - if [[ ! -z "${CONTROLLERFEATURES}" ]]; then ACTUALFEATURES="odl-integration-all,${CONTROLLERFEATURES}" +else + ACTUALFEATURES="odl-integration-all" +fi + +if [[ "${JOB_NAME}" == *"distribution-sanity"* ]]; then + CONTROLLERMEM="4096m" +else + CONTROLLERMEM="3072m" fi echo "Kill any controller running" @@ -55,7 +60,10 @@ cat "${MEMCONF}" 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