Before uploading failed reports check if secrets are set

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
tobiasKaminsky 2021-02-25 15:32:52 +01:00
parent 9eae1aea56
commit f1d3854a11
No known key found for this signature in database
GPG Key ID: 0E00D4D47D0C5AF7
1 changed files with 5 additions and 0 deletions

View File

@ -52,6 +52,11 @@ BRANCH_TYPE=$BRANCH-$TYPE
set -e set -e
if [ -z $USER ] || [ -z $PASS ]; then
echo "USER or PASS is empty!"
exit 1
fi
if [ $TYPE = "IT" ]; then if [ $TYPE = "IT" ]; then
FOLDER=build/reports/androidTests/connected/flavors/GPLAY FOLDER=build/reports/androidTests/connected/flavors/GPLAY
elif [ $TYPE = "Unit" ]; then elif [ $TYPE = "Unit" ]; then