[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Archlinux: use same message for job output and irc notification

Holger Levsen gitlab at salsa.debian.org
Mon Sep 17 16:55:31 BST 2018


Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
2253a1dc by Holger Levsen at 2018-09-17T15:55:21Z
reproducible Archlinux: use same message for job output and irc notification

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


1 changed file:

- bin/reproducible_archlinux_scheduler.sh


Changes:

=====================================
bin/reproducible_archlinux_scheduler.sh
=====================================
@@ -138,9 +138,12 @@ update_archlinux_repositories() {
 		if [ -n "$old" ] && ( [ $new -ne 0 ] || [ $updated -ne 0 ] ) ; then
 			old=", plus$old"
 		fi
-		irc_message archlinux-reproducible "${message}$old, for $total scheduled out of $TOTAL."
+		MESSAGE="${message}$old, for $total scheduled out of $TOTAL."
+		irc_message archlinux-reproducible "$MESSAGE"
+		echo "$(date -u ) - $MESSAGE"
+	else
+		echo "$(date -u ) - didn't schedule any packages."
 	fi
-	echo "$(date -u ) - scheduled $new/$updated packages$old."
 	rm $NEW $UPDATED > /dev/null
 	echo "$(date -u) - Done updating Arch Linux repositories, currently $TOTAL packages known."
 }



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/2253a1dcf58563413d771ae760cbc0533ac01772

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/2253a1dcf58563413d771ae760cbc0533ac01772
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/20180917/2a9f5296/attachment-0001.html>


More information about the Qa-jenkins-scm mailing list