From ab600503f6d0763d1e92354741e838f74ed45925 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 21 Nov 2015 11:47:10 +0000 Subject: reproducible freebsd: refactor, also provide results if one build fails --- bin/reproducible_freebsd.sh | 75 ++++++++++++++++++++++++++------------------- 1 file changed, 43 insertions(+), 32 deletions(-) diff --git a/bin/reproducible_freebsd.sh b/bin/reproducible_freebsd.sh index 2cdc0734..2d96ccff 100755 --- a/bin/reproducible_freebsd.sh +++ b/bin/reproducible_freebsd.sh @@ -37,6 +37,47 @@ save_freebsd_results(){ $RSSH "sudo chflags -R noschg $TMPDIR ; sudo rm -r $TMPDIR $TMPDIR.tar.xz ; mkdir $TMPDIR" } +run_diffoscope_on_results() { + TIMEOUT="30m" + DIFFOSCOPE="$(schroot --directory /tmp -c source:jenkins-reproducible-${DBDSUITE}-diffoscope diffoscope -- --version 2>&1)" + echo "=============================================================================" + echo "$(date -u) - Running $DIFFOSCOPE on FreeBSD (branch $FREEBSD_TARGET at ${FREEBSD_VERSION}) build results." + echo "=============================================================================" + FILES_HTML[$FREEBSD_TARGET]=$(mktemp --tmpdir=$TMPDIR) + #echo "