[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible Arch Linux: output number of currently scheduled packages at the end, always

Holger Levsen holger at layer-acht.org
Fri Dec 8 11:23:39 UTC 2017


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 ba1c68b8c0d67a2310857c95a2d6a67bbb629461
Author: Holger Levsen <holger at layer-acht.org>
Date:   Fri Dec 8 11:23:35 2017 +0000

    reproducible Arch Linux: output number of currently scheduled packages at the end, always
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/reproducible_archlinux_scheduler.sh | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/bin/reproducible_archlinux_scheduler.sh b/bin/reproducible_archlinux_scheduler.sh
index 59358bd..3330ae5 100755
--- a/bin/reproducible_archlinux_scheduler.sh
+++ b/bin/reproducible_archlinux_scheduler.sh
@@ -13,7 +13,7 @@ common_init "$@"
 set -e
 
 update_archlinux_repositories() {
-	echo "$(date -u) - currently $(find $BASE/archlinux/ -name pkg.needs_build | wc -l ) packages scheduled."
+	echo "$(date -u) - Updating Arch Linux repositories, currently $(find $BASE/archlinux/ -name pkg.needs_build | wc -l ) packages scheduled."
 	UPDATED=$(mktemp -t archlinuxrb-scheduler-XXXXXXXX)
 	NEW=$(mktemp -t archlinuxrb-scheduler-XXXXXXXX)
 	local SESSION="archlinux-scheduler-$RANDOM"
@@ -86,10 +86,9 @@ update_archlinux_repositories() {
 	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 scheduled."
 }
 
-echo "$(date -u ) - Updating Arch Linux repositories."
 update_archlinux_repositories
-echo "$(date -u ) - Done updating Arch Linux repositories."
 
 # vim: set sw=0 noet :

-- 
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