summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-04-10 11:59:00 +0200
committerMattia Rizzolo <mattia@mapreri.org>2015-04-27 17:19:57 +0200
commitf2cc5150abdd03da1d25b282cb01752d335e6793 (patch)
tree82f9e7d93238b40d4b0eb640794a12a5987461e1
parente0af4fac06240e53e56144a9c1a47072e89a401f (diff)
downloadjenkins.debian.net-f2cc5150abdd03da1d25b282cb01752d335e6793.tar.xz
reproducible: build: print out status with the notification
-rwxr-xr-xbin/reproducible_build.sh8
1 files changed, 4 insertions, 4 deletions
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