[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Archlinux: shorten irc message if longer then 256 chars✂
Holger Levsen
gitlab at salsa.debian.org
Mon Oct 1 16:07:16 BST 2018
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
45f54b80 by Holger Levsen at 2018-10-01T15:07:05Z
reproducible Archlinux: shorten irc message if longer then 256 chars✂
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
=====================================
@@ -51,6 +51,10 @@ done
echo
if [ ! -z "$SUCCESS" ] ; then
MESSAGE="Manually scheduled in $REPOSITORY:$SUCCESS"
+ # shorten irc message if longer then 256 characters
+ if [ ${#MESSAGE} -gt 256 ] ; then
+ MESSAGE="${MESSAGE:0:256}✂…"
+ fi
echo "$MESSAGE"
irc_message archlinux-reproducible "$MESSAGE"
fi
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/45f54b8089a8768cf87166038745f889eeffa9fc
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/45f54b8089a8768cf87166038745f889eeffa9fc
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/20181001/1139f24e/attachment-0001.html>
More information about the Qa-jenkins-scm
mailing list