X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fintegration%2Fintegration-configure-clustering.sh;h=43df86444261fc64a570de67c8be94231534ebb7;hb=c54e6e30f417b3b19ab0f26c1aac4a54c9ee4d69;hp=1365e9bfde32dfd60d0021030441316264ebb6e6;hpb=521a38028d3ad2e3512bc48997fe81667b657356;p=releng%2Fbuilder.git diff --git a/jjb/integration/integration-configure-clustering.sh b/jjb/integration/integration-configure-clustering.sh index 1365e9bfd..43df86444 100644 --- a/jjb/integration/integration-configure-clustering.sh +++ b/jjb/integration/integration-configure-clustering.sh @@ -10,108 +10,21 @@ echo "#################################################" echo "## Configure Cluster and Start ##" echo "#################################################" -if [ ${CONTROLLERSCOPE} == 'all' ]; then - ACTUALFEATURES="odl-integration-compatible-with-all,${CONTROLLERFEATURES}" - export CONTROLLERMEM="3072m" -else - ACTUALFEATURES="odl-infrautils-ready,${CONTROLLERFEATURES}" -fi -# Some versions of jenkins job builder result in feature list containing spaces -# and ending in newline. Remove all that. -ACTUALFEATURES=`echo "${ACTUALFEATURES}" | tr -d '\n \r'` +get_features +# shellcheck disable=SC2034 nodes_list=$(get_nodes_list) run_plan "script" -# Create the configuration script to be run on controllers. -cat > ${WORKSPACE}/configuration-script.sh < ${WORKSPACE}/startup-script.sh <