summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-08-30 18:41:57 +0200
committerHolger Levsen <holger@layer-acht.org>2015-08-30 18:41:57 +0200
commita12595877ffcc74914a8d7ca6783a703942ec891 (patch)
tree4ee4dd345428782ff9660315c23bda274ffc0119 /bin
parent2914d20299a7a57c60dd6841a80fee474f59be36 (diff)
downloadjenkins.debian.net-a12595877ffcc74914a8d7ca6783a703942ec891.tar.xz
reproducible: never try to generate html on the build nodes
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_build.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index d81414f0..7c6bd80b 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -96,9 +96,11 @@ cleanup_all() {
irc_message "$REPRODUCIBLE_URL/$SUITE/$ARCH/$SRCPACKAGE done: $STATUS"
fi
gzip -9fvn $RBUILDLOG
- # XXX quite ugly: this is just needed to get the correct value of the
- # compressed files in the html. It's cheap and quite safe so, *shrugs*...
- gen_package_html $SRCPACKAGE
+ if [ "$MODE" = "legacy" ] || [ "$MODE" = "ng" ] ; then
+ # XXX quite ugly: this is just needed to get the correct value of the
+ # compressed files in the html. It's cheap and quite safe so, *shrugs*...
+ gen_package_html $SRCPACKAGE
+ fi
cd
rm -r $TMPDIR
if ! $BAD_LOCKFILE ; then rm -f $LOCKFILE ; fi