[Qa-jenkins-scm] [jenkins.debian.net] 01/02: reproducible archlinux: add more output

Holger Levsen holger at moszumanska.debian.org
Thu Dec 10 12:01:58 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 85b9368b6f577970f2efc90d730cd2f55dc6ff8a
Author: Holger Levsen <holger at layer-acht.org>
Date:   Thu Dec 10 12:58:26 2015 +0100

    reproducible archlinux: add more output
---
 bin/reproducible_build_archlinux_pkg.sh | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/bin/reproducible_build_archlinux_pkg.sh b/bin/reproducible_build_archlinux_pkg.sh
index 70ce14b..de39c45 100755
--- a/bin/reproducible_build_archlinux_pkg.sh
+++ b/bin/reproducible_build_archlinux_pkg.sh
@@ -40,9 +40,11 @@ handle_remote_error() {
 }
 
 choose_package() {
+	echo "$(date -u ) - about to choose a package to be build"
 	# every 2 days we check for new archlinux packages
-	touch -d "$(date -d '2 days ago' '+%Y-%m-%d') 00:00 UTC"
+	touch -d "$(date -d '2 days ago' '+%Y-%m-%d') 00:00 UTC" $DUMMY
 	if [ ! -f $ARCHLINUX_PKGS ] || [ $DUMMY -nt $ARCHLINUX_PKGS ] ; then
+		echo "$(date -u ) - updating list of available packages."
 		local SESSION="archlinux-scheduler-$RANDOM"
 		schroot --begin-session --session-name=$SESSION -c jenkins-reproducible-arch
 		schroot --run-session -c $SESSION --directory /var/abs/core -- ls -1|sort -R|xargs echo > $ARCHLINUX_PKGS
@@ -55,7 +57,7 @@ choose_package() {
 		# build package if it has never build or at least a week ago
 		if [ ! -d $BASE/archlinux/$PKG ] || [ ! -z $(find $BASE/archlinux/ -name $PKG -mtime +6) ] ; then
 			SRCPACKAGE=$PKG
-			echo "Building $PKG now..."
+			echo "$(date -u ) - building package $PKG now..."
 			# very simple locking…
 			mkdir -p $BASE/archlinux/$PKG
 			touch $BASE/archlinux/$PKG

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