summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_build.sh
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-06-17 00:00:40 +0000
committerHolger Levsen <holger@layer-acht.org>2015-07-05 14:01:20 +0200
commita0a54ab8771f0e6878c86d0dbf2f344ec965aa5a (patch)
treea9b0d9ad79b765ad94810d42699911c767026d37 /bin/reproducible_build.sh
parent201d61faf1e8669e7e62179ad1c2bb918523de8b (diff)
downloadjenkins.debian.net-a0a54ab8771f0e6878c86d0dbf2f344ec965aa5a.tar.xz
reproducible: also save the --text output of debbindiff
Diffstat (limited to 'bin/reproducible_build.sh')
-rwxr-xr-xbin/reproducible_build.sh6
1 files changed, 6 insertions, 0 deletions
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}