From a0a54ab8771f0e6878c86d0dbf2f344ec965aa5a Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Wed, 17 Jun 2015 00:00:40 +0000 Subject: reproducible: also save the --text output of debbindiff --- bin/reproducible_build.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'bin/reproducible_build.sh') diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index eba6798f..27076c0f 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -228,6 +228,10 @@ handle_ftbr() { else echo "$(date) - $DBDVERSION produced no output (which is strange)." | tee -a $RBUILDLOG fi + if [ -f ./$DBDTXT ] ; then + mv ./$DBDTXT $BASE/dbdtxt/$SUITE/$ARCH/ + gzip -9n $BASE/dbdtxt/$SUITE/$ARCH/$DBDTXT + fi calculate_build_duration update_db_and_html "unreproducible" } @@ -283,6 +287,7 @@ call_debbindiff() { -c source:jenkins-reproducible-${DBDSUITE}-debbindiff \ -- sh -c "export TMPDIR=$TEMP ; debbindiff \ --html $TMPDIR/${DBDREPORT} \ + --text $TMPDIR/$DBDTXT \ $TMPDIR/b1/${SRCPACKAGE}_${EVERSION}_${ARCH}.changes \ $TMPDIR/b2/${SRCPACKAGE}_${EVERSION}_${ARCH}.changes" \ ) 2>&1 >> $TMPLOG @@ -524,6 +529,7 @@ get_source_package VERSION="$(grep '^Version: ' ${SRCPACKAGE}_*.dsc| head -1 | egrep -v '(GnuPG v|GnuPG/MacGPG2)' | cut -d ' ' -f2-)" EVERSION="$(echo $VERSION | cut -d ':' -f2)" # EPOCH_FREE_VERSION was too long DBDREPORT="${SRCPACKAGE}_${EVERSION}.debbindiff.html" +DBDTXT="${SRCPACKAGE}_${EVERSION}.debbindiff.txt" BUILDINFO="${SRCPACKAGE}_${EVERSION}_${ARCH}.buildinfo" cat ${SRCPACKAGE}_${EVERSION}.dsc | tee -a ${RBUILDLOG} -- cgit v1.2.3-54-g00ecf