[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Archlinux: explain how many packages were scheduled
Holger Levsen
gitlab at salsa.debian.org
Fri Oct 5 01:14:16 BST 2018
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
9aa0fffe by Holger Levsen at 2018-10-05T00:14:06Z
reproducible Archlinux: explain how many packages were scheduled
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- bin/reproducible_archlinux_manual_scheduler.sh
Changes:
=====================================
bin/reproducible_archlinux_manual_scheduler.sh
=====================================
@@ -50,7 +50,13 @@ done
echo
if [ ! -z "$SUCCESS" ] ; then
- MESSAGE="Manually scheduled in $REPOSITORY:$SUCCESS"
+ AMOUNT=$(echo $SUCCESS | sed 's# #\n#g' | wc -l)
+ if [ $AMOUNT -gt 3 ] ; then
+ MANY=" $AMOUNT packages"
+ else
+ MANY=""
+ fi
+ MESSAGE="Manually scheduled$MANY in $REPOSITORY:$SUCCESS"
# shorten irc message if longer then 256 characters
if [ ${#MESSAGE} -gt 256 ] ; then
MESSAGE="${MESSAGE:0:256}✂…"
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/9aa0fffeee5d1feda808352bb7d42d8a83205d9e
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/9aa0fffeee5d1feda808352bb7d42d8a83205d9e
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20181005/4702bff2/attachment.html>
More information about the Qa-jenkins-scm
mailing list