summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-10-16 18:39:15 +0200
committerHolger Levsen <holger@layer-acht.org>2015-10-16 18:39:15 +0200
commit3852dd6d585ccbdcfa2371fd15fe6f229781cdec (patch)
tree462a17194a99e86993027b8e2bdf35b5f6007ed1
parentd546a36c6a784d8c58a6e2813667b7d3a843e5b0 (diff)
downloadjenkins.debian.net-3852dd6d585ccbdcfa2371fd15fe6f229781cdec.tar.xz
reproducible arch: define TIMEOUT
-rwxr-xr-xbin/reproducible_build_arch_pkg.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/reproducible_build_arch_pkg.sh b/bin/reproducible_build_arch_pkg.sh
index beff2d66..f93bfcef 100755
--- a/bin/reproducible_build_arch_pkg.sh
+++ b/bin/reproducible_build_arch_pkg.sh
@@ -154,7 +154,12 @@ fi
#
SRCPACKAGE=sudo
build_rebuild
+# run diffoscope on the results
+TIMEOUT="30m"
+DIFFOSCOPE="$(schroot --directory /tmp -c source:jenkins-reproducible-${DBDSUITE}-diffoscope diffoscope -- --version 2>&1)"
+echo "$(date -u) - Running $DIFFOSCOPE now..."
call_diffoscope archlinux $SRCPACKAGE
+# publish page
if [ -f $TMPDIR/archlinux/$SRCPACKAGE.html ] ; then
cp $TMPDIR/archlinux/$SRCPACKAGE.html $BASE/archlinux
echo "$(date -u) - $REPRODUCIBLE_URL/archlinux/$SRCPACKAGE.html updated."