X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fintegration%2Finclude-raw-integration-deploy-controller.sh;h=8db436d954e2404e82385a9379bccf59482c037c;hb=bd329baa86ed18e1258c445cb61efffc278ba6af;hp=d9ac4da92cc3f31963efb585c3164bfb7ae4c475;hpb=79eab62618047c3a06318513f3209d9de1f3acfc;p=releng%2Fbuilder.git diff --git a/jjb/integration/include-raw-integration-deploy-controller.sh b/jjb/integration/include-raw-integration-deploy-controller.sh index d9ac4da92..8db436d95 100644 --- a/jjb/integration/include-raw-integration-deploy-controller.sh +++ b/jjb/integration/include-raw-integration-deploy-controller.sh @@ -38,8 +38,9 @@ sed -ie 's/log4j.appender.out.maxBackupIndex=10/log4j.appender.out.maxBackupInde sed -ie 's/log4j.appender.out.maxFileSize=1MB/log4j.appender.out.maxFileSize=100GB/g' \${LOGCONF} cat \${LOGCONF} -echo "Configure max memory..." +echo "Configure java home and max memory..." MEMCONF=/tmp/${BUNDLEFOLDER}/bin/setenv +sed -ie 's%^# export JAVA_HOME%export JAVA_HOME="\${JAVA_HOME:-${JAVA_HOME}}"%g' \${MEMCONF} sed -ie 's/JAVA_MAX_MEM="2048m"/JAVA_MAX_MEM="${CONTROLLERMEM}"/g' \${MEMCONF} cat \${MEMCONF} @@ -47,7 +48,7 @@ EOF for i in `seq 1 ${NUM_ODL_SYSTEM}` do - CONTROLLERIP=ODL_SYSTEM_${i}_IP + CONTROLLERIP=ODL_SYSTEM_${i}_IP echo "Installing distribution in member-${i} with IP address ${!CONTROLLERIP}" scp ${WORKSPACE}/deploy-controller-script.sh ${!CONTROLLERIP}:/tmp ssh ${!CONTROLLERIP} 'bash /tmp/deploy-controller-script.sh'