jenkins-test: make source APK source exists

This commit is contained in:
Hans-Christoph Steiner 2019-09-25 12:41:07 +02:00
parent cf2c1d0270
commit 4190481142
No known key found for this signature in database
GPG Key ID: 3E177817BA1B9BFA
1 changed files with 5 additions and 0 deletions

View File

@ -34,6 +34,11 @@ export ANDROID_HOME=/usr/lib/android-sdk
rm -rf "$WORKSPACE/.testfiles"
cd tests
if [ ! -e $WORKSPACE/fdroiddata/repo ]; then
echo "WARNING: $WORKSPACE/fdroiddata/repo does not exist, making placeholder!"
mkdir $WORKSPACE/fdroiddata/repo
cp $WORKSPACE/tests/repo/*.apk $WORKSPACE/fdroiddata/repo/
fi
./run-tests $WORKSPACE/fdroiddata/repo
# this is set up and managed by jenkins-build-all