summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_schedule_on_demand.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-03-19 10:38:01 +0100
committerHolger Levsen <holger@layer-acht.org>2015-03-19 10:38:01 +0100
commitbba747d9c44f308cd2c813ddea79967f49cdcd3c (patch)
treeaaa3a5fb1f5fa850a7a68dfdd9942c3ca5875542 /bin/reproducible_schedule_on_demand.sh
parentad36e84f217711b6c053c43ce21c3f330f71e51a (diff)
downloadjenkins.debian.net-bba747d9c44f308cd2c813ddea79967f49cdcd3c.tar.xz
reproducible: dont notify about 0 packages scheduled
Diffstat (limited to 'bin/reproducible_schedule_on_demand.sh')
-rwxr-xr-xbin/reproducible_schedule_on_demand.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_schedule_on_demand.sh b/bin/reproducible_schedule_on_demand.sh
index e58d2f0b..e3af3c13 100755
--- a/bin/reproducible_schedule_on_demand.sh
+++ b/bin/reproducible_schedule_on_demand.sh
@@ -37,7 +37,7 @@ MESSAGE="$TOTAL $PACKAGES_TXT $ACTION for $SUITE: ${PACKAGES_NAMES:0:256}$BLABLA
schedule_packages $PACKAGE_IDS
echo
echo "$MESSAGE"
-if [ -z "${BUILD_URL:-}" ] ; then
+if [ -z "${BUILD_URL:-}" ] && [ $TOTAL -ne 0 ] ; then
kgb-client --conf /srv/jenkins/kgb/debian-reproducible.conf --relay-msg "$MESSAGE"
fi
echo "============================================================================="