chiark / gitweb /
Merge branch 'gradle-2.14.1' into 'master'
[fdroidserver.git] / jenkins-build-makebuildserver
index 8afa6220b278f5d660dd66c948308ecc0dec623e..120ce7981fa2aec58c3918cf23aebda5f9f84583 100755 (executable)
@@ -29,9 +29,9 @@ set -x
 # make sure we have the vagrant box image cached
 test -e ~/.cache/fdroidserver || mkdir -p ~/.cache/fdroidserver
 cd ~/.cache/fdroidserver
-wget --tries=1 --timeout=5 --continue https://f-droid.org/jessie32.box || true
-echo "ff6b0c0bebcb742783becbc51a9dfff5a2a0a839bfcbfd0288dcd3113f33e533  jessie32.box" > jessie32.box.sha256
-sha256sum -c jessie32.box.sha256
+wget --tries=1 --timeout=5 --continue https://f-droid.org/jessie64.box || true
+echo "de3e3c4a9c13e8c015e30edeea0f583b195d1ee8ff9ad4814e933bbfb560200f  jessie64.box" > jessie64.box.sha256
+sha256sum -c jessie64.box.sha256
 
 # redirect homes to be in the git repo, so they'll get cleaned and reset
 export XDG_CONFIG_HOME=$WORKSPACE
@@ -46,11 +46,12 @@ cd $WORKSPACE
 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
@@ -59,4 +60,15 @@ fi
 
 cd fdroiddata
 echo "build_server_always = True" > config.py
-../fdroid build info.guardianproject.checkey
+# if it can't build fdroid, then its really broken
+../fdroid build --verbose --stop --latest org.fdroid.fdroid
+# 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