chiark / gitweb /
jenkins-test: ./run-tests needs ANDROID_HOME
[fdroidserver.git] / jenkins-test
index 65064d3bb737fa6a4b5ae67e8bc1f98be738a4be..e4f33efd64238613700a64f12d98571e3b27755d 100755 (executable)
@@ -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