Override execution mode variable for test framework
[infra/cicd.git] / jjb / cloud-infra / scripts / xtesting-infra-healthcheck.sh
index ad46583ed103013a285a2b38c527dba3e4659887..b480989bb35718803b3b8889d4046170b9d83963 100755 (executable)
@@ -21,6 +21,9 @@
 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