diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-03-19 10:38:01 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-03-19 10:38:01 +0100 |
commit | bba747d9c44f308cd2c813ddea79967f49cdcd3c (patch) | |
tree | aaa3a5fb1f5fa850a7a68dfdd9942c3ca5875542 | |
parent | ad36e84f217711b6c053c43ce21c3f330f71e51a (diff) | |
download | jenkins.debian.net-bba747d9c44f308cd2c813ddea79967f49cdcd3c.tar.xz |
reproducible: dont notify about 0 packages scheduled
-rwxr-xr-x | bin/reproducible_schedule_on_demand.sh | 2 |
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 "=============================================================================" |