jenkins: move tests to separate job

The setup and build_all jobs take a very long time to run, so its really
annoying when they are marked as failed just because one small thing in the
test suite failed.  So move the test suite to its own job that can be run
more frequently.
This commit is contained in:
Hans-Christoph Steiner 2017-11-08 09:38:02 +01:00
parent dc23defb41
commit d347f3ebb2
3 changed files with 51 additions and 27 deletions

View file

@ -1,7 +1,7 @@
#!/bin/bash
#
# this is the script run by the Jenkins server to run the build and tests. Be
# sure to always run it in its dir, i.e. ./jenkins-build.sh, otherwise it might
# this is the script run by the Jenkins server to run the build tests. Be
# sure to always run it in its dir, i.e. ./jenkins-build, otherwise it might
# remove things that you don't want it to.
if [ `dirname $0` != "." ]; then
@ -17,11 +17,6 @@ fi
set -e
set -x
# this is a local repo on the Guardian Project Jenkins server
cd tests
#./complete-ci-tests /var/www/fdroid
# report info about virtualization
(dmesg | grep -i -e hypervisor -e qemu -e kvm) || true
(lspci | grep -i -e virtio -e virtualbox -e qemu -e kvm) || true