X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=utils%2Fpush-test-logs.sh;h=590397f84b2a7e4d4074a1efe52e95edb61d6464;hb=eb74d4bec5e068f40b09b33c60fd3b55501d5bff;hp=68f80874ac4ccdd48a73245624dc87a018027499;hpb=bcd9ceb95ae851218ea938f5138098a855615046;p=releng.git diff --git a/utils/push-test-logs.sh b/utils/push-test-logs.sh index 68f80874a..590397f84 100644 --- a/utils/push-test-logs.sh +++ b/utils/push-test-logs.sh @@ -18,6 +18,15 @@ project=$PROJECT branch=${GIT_BRANCH##*/} testbed=$NODE_NAME dir_result="${HOME}/opnfv/$project/results/$branch" +node_list=(\ +'opnfv-jump-1' 'opnfv-jump-2' 'ericsson-pod1' 'ericsson-pod2' \ +'intelpod2-jumphost' 'intel-pod3' 'intel-pod5' 'intel-pod6' \ +'intel-pod8' 'huawei-us-deploy-bare-1') + +if [[ ! " ${node_list[@]} " =~ " ${testbed} " ]]; then + echo "This is not a CI POD. Aborting pushing the logs to artifacts." + exit 0 +fi if [[ "$branch" == "master" ]]; then project_artifact=logs/$project/$testbed/$res_build_date