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
1 changed files with 4 additions and 5 deletions

View File

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