chiark / gitweb /
nightly: support arbitrary keystore files for setup
[fdroidserver.git] / jenkins-test
index c8f9de8a4f8762e2d4079c8ee81bb21de199110c..b065084ad7ff7d0ce44e1c4da5ec995cea820b72 100755 (executable)
@@ -23,9 +23,9 @@ set -x
 # set up Android SDK to use the Debian packages in stretch
 export ANDROID_HOME=/usr/lib/android-sdk
 
-rm -rf $WORKSPACE/.testfiles
+rm -rf "$WORKSPACE/.testfiles"
 cd tests
-./run-tests $WORKSPACE
+./run-tests $WORKSPACE/fdroiddata/repo
 
 # this is set up and managed by jenkins-build-all
 cd $WORKSPACE/fdroiddata
@@ -35,6 +35,8 @@ rm -f config.py keystore.jks
 ../fdroid update
 
 export GNUPGHOME=$WORKSPACE/tests/gnupghome
+gpg --import $GNUPGHOME/secring.gpg
+
 echo "build_server_always = True" >> config.py
 echo "gpghome = '$GNUPGHOME'" >> config.py
 echo "gpgkey = 'CE71F7FB'" >> config.py