echo "debian_mirror = 'http://ftp.uk.debian.org/debian/'" > $WORKSPACE/makebuildserver.config.py
echo "boot_timeout = 1200" >> $WORKSPACE/makebuildserver.config.py
echo "apt_package_cache = True" >> $WORKSPACE/makebuildserver.config.py
-./makebuildserver
+./makebuildserver --verbose
+# this can be handled in the jenkins job, or here:
+if [ -e fdroiddata ]; then
+ cd fdroiddata
+ git checkout master
+ git pull
+ cd ..
+else
+ git clone --depth 1 https://gitlab.com/fdroid/fdroiddata.git fdroiddata
+fi
+
+cd fdroiddata
+echo "build_server_always = True" > config.py
+# Gradle, JNI, preassemble
+../fdroid build --stop org.adaway:55
+# Maven
+../fdroid build --stop org.quantumbadger.redreader:55
+# Custom build (make)
+../fdroid build --stop com.amaze.filemanager:29
+# Uses verification
+../fdroid build --stop info.guardianproject.checkey:101
+# Gradle with retrolambda (JDK7 and JDK8)
+../fdroid build --stop com.moez.QKSMS:124