1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-07-07 09:50:07 +02:00

jenkins-test: ./run-tests needs ANDROID_HOME

This commit is contained in:
Hans-Christoph Steiner 2017-11-08 13:14:44 +01:00
parent 8cfc590b39
commit 6bcdf6439b

View File

@ -20,14 +20,13 @@ fi
set -e set -e
set -x set -x
cd tests
./run-tests $WORKSPACE/fdroiddata/unsigned
# set up Android SDK to use the Debian packages in stretch # set up Android SDK to use the Debian packages in stretch
export ANDROID_HOME=/usr/lib/android-sdk export ANDROID_HOME=/usr/lib/android-sdk
# the way we handle jenkins slaves doesn't copy the workspace to the slaves cd tests
# so we need to "manually" clone the git repo here… ./run-tests $WORKSPACE/fdroiddata/unsigned
# this is set up and managed by jenkins-build-all
cd $WORKSPACE/fdroiddata cd $WORKSPACE/fdroiddata
test -e config.py || ../fdroid init --verbose test -e config.py || ../fdroid init --verbose