X-Git-Url: https://gerrit.nordix.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=jjb%2Fcloud-infra%2Fscripts%2Fxtesting-infra-healthcheck.sh;h=b480989bb35718803b3b8889d4046170b9d83963;hb=6d91877014585c9d2f0ebe59b42f77177bd14663;hp=a85c3a755520c8b8bf927a9852bc1ada1f252d35;hpb=41a2d0c59d27d75f124e168bc2acca0e91ab16f4;p=infra%2Fcicd.git diff --git a/jjb/cloud-infra/scripts/xtesting-infra-healthcheck.sh b/jjb/cloud-infra/scripts/xtesting-infra-healthcheck.sh index a85c3a75..b480989b 100755 --- a/jjb/cloud-infra/scripts/xtesting-infra-healthcheck.sh +++ b/jjb/cloud-infra/scripts/xtesting-infra-healthcheck.sh @@ -21,16 +21,13 @@ set -o errexit set -o pipefail +# NOTE (eprasad) we need to override execution mode variable to mode supported by test framework +export EXECUTION_MODE=$(echo "$EXECUTION_MODE" | sed 's/deployment/test/g') + echo "Info : Cloning infra/test repository" cd $HOME && /bin/rm -rf $WORKSPACE git clone -q $TEST_REPO_URL $WORKSPACE -# NOTE (eprasad): we need to override execution mode variable coming from change.properties file -if [[ "$CI_LOOP" != "release" ]]; then - export EXECUTION_MODE=$(echo "$EXECUTION_MODE" | sed 's/deployment/test/g') -else - export EXECUTION_MODE=online-test -fi cd $WORKSPACE/test ./test.sh -s "$STACK_TYPE" -b "$BRANCH" -c "$DEPLOY_SCENARIO" -f "$TEST_FW" -t "$TEST_SUITE" \