[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible archlinux: don't show packages which are just building for the first time

Holger Levsen holger at moszumanska.debian.org
Fri Dec 11 13:59:50 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 f856d3557ca25a00d39d62436123ac29357b2dae
Author: Holger Levsen <holger at layer-acht.org>
Date:   Fri Dec 11 14:59:37 2015 +0100

    reproducible archlinux: don't show packages which are just building for the first time
---
 bin/reproducible_html_archlinux.sh | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/bin/reproducible_html_archlinux.sh b/bin/reproducible_html_archlinux.sh
index c42b997..4223efd 100755
--- a/bin/reproducible_html_archlinux.sh
+++ b/bin/reproducible_html_archlinux.sh
@@ -40,6 +40,11 @@ write_explaination_table 'Arch Linux'
 write_page "    <table><tr><th>repository</th><th>source package</th><th>test result</th><th>test date</th><th>1st build log</th><th>2nd build log</th></tr>"
 for REPOSITORY in $ARCHLINUX_REPOS ; do
 	for PKG in $(find $ARCHBASE/$REPOSITORY/* -maxdepth 1 -type d -exec basename {} \;) ; do
+		if [ -z "$(cd $ARCHBASE/$REPOSITORY/$PKG/ ; ls)" ] ; then
+			# directory exists but is empty: package is building…
+			echo "$(date -u ) - ignoring $PKG from '$REPOSITORY' which is building right now…"
+			continue
+		fi
 		write_page "     <tr>"
 		write_page "      <td>$REPOSITORY</td>"
 		write_page "      <td>$PKG</td>"

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