[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: never try to generate html on the build nodes

Holger Levsen holger at moszumanska.debian.org
Sun Aug 30 16:42:18 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit a12595877ffcc74914a8d7ca6783a703942ec891
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sun Aug 30 18:41:57 2015 +0200

    reproducible: never try to generate html on the build nodes
---
 bin/reproducible_build.sh | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index d81414f..7c6bd80 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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list