From f2cc5150abdd03da1d25b282cb01752d335e6793 Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Fri, 10 Apr 2015 11:59:00 +0200 Subject: reproducible: build: print out status with the notification --- bin/reproducible_build.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bin/reproducible_build.sh') diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index 43d6a271..55b60929 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -95,9 +95,9 @@ cleanup_all() { if [ $SAVE_ARTIFACTS -eq 1 ] ; then save_artifacts ; fi if [ "$NOTIFY" = "failure" ] ; then echo "No artifacts were saved for this build." | tee -a ${RBUILDLOG} - irc_message "Check $REPRODUCIBLE_URL/rbuild/${SUITE}/${ARCH}/${SRCPACKAGE}_${EVERSION}.rbuild.log and $BUILD_URL to find out why no artifacts were saved." + irc_message "Check $REPRODUCIBLE_URL/$SUITE/$ARCH/$SRCPACKAGE and $BUILD_URL to find out why no artifacts were saved (final status $STATUS)" elif [ ! -z "$NOTIFY" ] && [ $SAVE_ARTIFACTS -eq 0 ] ; then - irc_message "This package just finished building: $REPRODUCIBLE_URL/$SUITE/$ARCH/$SRCPACKAGE" + irc_message "$REPRODUCIBLE_URL/$SUITE/$ARCH/$SRCPACKAGE just finished building ($STATUS)" fi rm -r $TMPDIR if ! $BAD_LOCKFILE ; then rm -f $LOCKFILE ; fi @@ -116,7 +116,7 @@ calculate_build_duration() { update_db_and_html() { # everything passed at this function is saved as a status of this package in the db - local STATUS="$@" + STATUS="$@" if [ -z "$VERSION" ] ; then VERSION="None" fi @@ -456,7 +456,7 @@ check_suitability check_for_race_conditions build_rebuild # defines FTBFS redefines RBUILDLOG if [ $FTBFS -eq 0 ] ; then - call_debbindiff # defines DBDVERSION + call_debbindiff # defines DBDVERSION, update_db_and_html defines STATUS fi check_for_race_conditions -- cgit v1.2.3-70-g09d2