[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: dont notify about 0 packages scheduled
Holger Levsen
holger at moszumanska.debian.org
Thu Mar 19 09:40:09 UTC 2015
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit bba747d9c44f308cd2c813ddea79967f49cdcd3c
Author: Holger Levsen <holger at layer-acht.org>
Date: Thu Mar 19 10:38:01 2015 +0100
reproducible: dont notify about 0 packages scheduled
---
bin/reproducible_schedule_on_demand.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/reproducible_schedule_on_demand.sh b/bin/reproducible_schedule_on_demand.sh
index e58d2f0..e3af3c1 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 "============================================================================="
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list