coverity.sh: fail if uploading data to Coverity Scan is forbidden

This commit is contained in:
Evegeny Vereshchagin 2018-06-25 22:22:29 +00:00
parent 1e79d09ef9
commit f3a020d153

View file

@ -48,7 +48,7 @@ else
else else
WHEN=`echo $AUTH_RES | python -c "import sys, json; print(json.load(sys.stdin)['next_upload_permitted_at'])"` WHEN=`echo $AUTH_RES | python -c "import sys, json; print(json.load(sys.stdin)['next_upload_permitted_at'])"`
echo -e "\033[33;1mCoverity Scan analysis NOT authorized until $WHEN.\033[0m" echo -e "\033[33;1mCoverity Scan analysis NOT authorized until $WHEN.\033[0m"
exit 0 exit 1
fi fi
fi fi