X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fintegration%2Fintegration-deploy-controller-run-test.sh;h=6f43a35e5a1d57aa5650441c3457921030f7a5d9;hb=f033b224511ec114a66471700b7fcc164ccfd00c;hp=83e5adb9f4fca7c30c44debd8b860cd2ed5ad203;hpb=1ef9643a39534ba4624d0c50fc1e5f5de9cd1526;p=releng%2Fbuilder.git diff --git a/jjb/integration/integration-deploy-controller-run-test.sh b/jjb/integration/integration-deploy-controller-run-test.sh index 83e5adb9f..6f43a35e5 100644 --- a/jjb/integration/integration-deploy-controller-run-test.sh +++ b/jjb/integration/integration-deploy-controller-run-test.sh @@ -30,17 +30,7 @@ echo "ACTUALFEATURES: ${ACTUALFEATURES}" SPACE_SEPARATED_FEATURES=$(echo "${ACTUALFEATURES}" | tr ',' ' ') echo "SPACE_SEPARATED_FEATURES: ${SPACE_SEPARATED_FEATURES}" -if [ -f "${WORKSPACE}/test/csit/scriptplans/${TESTPLAN}" ]; then - echo "scriptplan exists!!!" - echo "Changing the scriptplan path..." - cat ${WORKSPACE}/test/csit/scriptplans/${TESTPLAN} | sed "s:integration:${WORKSPACE}:" > scriptplan.txt - cat scriptplan.txt - for line in $( egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' scriptplan.txt ); do - echo "Executing ${line}..." - # shellcheck source=${line} disable=SC1091 - source ${line} - done -fi +run_plan "script" cat > ${WORKSPACE}/configuration-script.sh < configplan.txt - cat configplan.txt - for line in $( egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' configplan.txt ); do - echo "Executing ${line}..." - # shellcheck source=${line} disable=SC1091 - source ${line} - done -fi +run_plan "config" # Copy over the startup script to controller and execute it. for i in `seq 1 ${NUM_ODL_SYSTEM}`