X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fintegration%2Fintegration-set-variables.sh;h=76e8d726321eb8487926a30f686edb567730a4c6;hb=002a0a95c5f530d752f30a4d23793b32850bc749;hp=93cd0eb99537f42d0dc0843d20915cb8b354d765;hpb=07568191388cf45a9525d473a9d59df7c177e78e;p=releng%2Fbuilder.git diff --git a/jjb/integration/integration-set-variables.sh b/jjb/integration/integration-set-variables.sh index 93cd0eb99..76e8d7263 100644 --- a/jjb/integration/integration-set-variables.sh +++ b/jjb/integration/integration-set-variables.sh @@ -1,3 +1,4 @@ +#!/bin/bash if [[ "$KARAF_VERSION" == "odl" ]]; then KARAF_ARTIFACT="opendaylight" @@ -7,12 +8,12 @@ else KARAF_ARTIFACT="karaf" fi -if [ "$JDKVERSION" == 'openjdk8' ]; then +if [ "$JDKVERSION" == 'openjdk11' ]; then + echo "Preparing for JRE Version 11" + JAVA_HOME="/usr/lib/jvm/java-11-openjdk" +elif [ "$JDKVERSION" == 'openjdk8' ]; then echo "Preparing for JRE Version 8" JAVA_HOME="/usr/lib/jvm/java-1.8.0" -elif [ "$JDKVERSION" == 'openjdk7' ]; then - echo "Preparing for JRE Version 7" - JAVA_HOME="/usr/lib/jvm/java-1.7.0" fi echo "Karaf artifact is ${KARAF_ARTIFACT}"