[Qa-jenkins-scm] [jenkins.debian.net] 01/02: reproducible: save rbuild.log for not-for-us packages

Holger Levsen holger at moszumanska.debian.org
Wed May 20 20:24:53 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 291f1495ea120ae9551fa8dcec66051b95248b0d
Author: Holger Levsen <holger at layer-acht.org>
Date:   Wed May 20 22:23:56 2015 +0200

    reproducible: save rbuild.log for not-for-us packages
---
 bin/reproducible_build.sh | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index c4a818e..4fe8aa8 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -152,12 +152,13 @@ handle_404() {
 handle_not_for_us() {
 	# a list of valid architecture for this package should be passed to this function
 	echo "Package ${SRCPACKAGE} (${VERSION}) shall only be build on \"$(echo "$@" | xargs echo )\" and thus was skipped." | tee -a ${RBUILDLOG}
+	mv $RBUILDLOG $BASE/rbuild/${SUITE}/${ARCH}/${SRCPACKAGE}_${EVERSION}.rbuild.log
+	RBUILDLOG=$BASE/rbuild/${SUITE}/${ARCH}/${SRCPACKAGE}_${EVERSION}.rbuild.log
 	DURATION=''
 	update_db_and_html "not for us"
-	irc_message "$BUILD_URL/console has just build a not-for-us package"
 	if [ $SAVE_ARTIFACTS -eq 1 ] ; then SAVE_ARTIFACTS=0 ; fi
 	if [ ! -z "$NOTIFY" ] ; then NOTIFY="failure" ; fi
-	exit 0
+	exit 0 # RBUILDLOG and SAVE_ARTIFACTS and NOTIFY are used in cleanup_all called at exit
 }
 
 handle_ftbfs() {

-- 
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