X-Git-Url: https://gerrit.nordix.org/gitweb?a=blobdiff_plain;f=jjb%2Fcloud-infra%2Fscripts%2Fdownload-xtesting-artifact.sh;h=89c664390637a02a2bdf63124f81391f158432d5;hb=de19d0ffc9d5fc5fb42830fcb6b5d87be26b89ac;hp=a782907b415d10eaca025a9df9ec5110443428a5;hpb=4a03190d37a5ae619bb049f8142fb466070b046f;p=infra%2Fcicd.git diff --git a/jjb/cloud-infra/scripts/download-xtesting-artifact.sh b/jjb/cloud-infra/scripts/download-xtesting-artifact.sh index a782907b..89c66439 100755 --- a/jjb/cloud-infra/scripts/download-xtesting-artifact.sh +++ b/jjb/cloud-infra/scripts/download-xtesting-artifact.sh @@ -21,6 +21,9 @@ set -o nounset set -o errexit +# 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') + if [[ "$EXECUTION_MODE" == "offline-test" ]]; then REMOTE_ARTIFACT=$(echo $OFFLINE_XTESTING_FILE | sed 's/.*\///g')