summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_build.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-10-03 13:18:32 +0200
committerHolger Levsen <holger@layer-acht.org>2015-10-03 13:18:32 +0200
commit8da840c8198b5380b01bd3686fd04c2dfa2a5dff (patch)
tree64ad3fe038f0b5c4ae983502017c5ecaa05651a2 /bin/reproducible_build.sh
parent7bd30bd7a47256f67c9bf2ccc0a9ec93197b81b1 (diff)
downloadjenkins.debian.net-8da840c8198b5380b01bd3686fd04c2dfa2a5dff.tar.xz
reproducible: remove notification about no artifacts on ftbfs
Diffstat (limited to 'bin/reproducible_build.sh')
-rwxr-xr-xbin/reproducible_build.sh8
1 files changed, 3 insertions, 5 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 722e9d38..35fb0e23 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -65,7 +65,7 @@ save_artifacts() {
echo | tee -a ${RBUILDLOG}
# irc message
if [ ! -z "$NOTIFY" ] ; then
- local MESSAGE="Artifacts for ${SRCPACKAGE} (${SUITE}/${ARCH}) published: $URL"
+ local MESSAGE="Artifacts for ${SRCPACKAGE} ($STATUS in ${SUITE}/${ARCH}) published: $URL"
if [ "$NOTIFY" = "diffoscope" ] ; then
MESSAGE="$MESSAGE (error when running $DIFFOSCOPE)"
fi
@@ -74,10 +74,8 @@ save_artifacts() {
}
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/$SUITE/$ARCH/$SRCPACKAGE and $BUILD_URL to find out why no artifacts were saved (final status $STATUS)"
+ if [ $SAVE_ARTIFACTS -eq 1 ] ; then
+ save_artifacts
elif [ ! -z "$NOTIFY" ] && [ $SAVE_ARTIFACTS -eq 0 ] ; then
irc_message "$REPRODUCIBLE_URL/$SUITE/$ARCH/$SRCPACKAGE done: $STATUS"
fi