Before uploading failed reports check if secrets are set
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
parent
9eae1aea56
commit
f1d3854a11
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue