[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible arch: detect failures to resolve dependencies

Holger Levsen holger at moszumanska.debian.org
Fri Oct 16 22:02:47 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 0d26aab123485864777d3dc50850f5d2f7faa853
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sat Oct 17 00:01:58 2015 +0200

    reproducible arch: detect failures to resolve dependencies
---
 bin/reproducible_html_archlinux.sh | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/bin/reproducible_html_archlinux.sh b/bin/reproducible_html_archlinux.sh
index 4597199..b1a9915 100755
--- a/bin/reproducible_html_archlinux.sh
+++ b/bin/reproducible_html_archlinux.sh
@@ -40,7 +40,11 @@ for PKG in $(find $ARCHBASE/* -maxdepth 1 -type d -exec basename {} \;) ; do
 		fi
 	done
 	if [ -z "$(cd $ARCHBASE/$PKG/ ; ls *.pkg.tar.xz.html 2>/dev/null)" ] ; then
-		write_page "  <td>failed to build from source</td>"
+		if [ ! -z "$(grep 'ERROR: Could not resolve all dependencies' $ARCHBASE/$PKG/build1.log)" ] ; then
+			write_page "  <td>could not resolve dependencies</td>"
+		else
+			write_page "  <td>failed to build from source</td>"
+		fi
 	else
 		write_page "  <td>"
 		for ARTIFACT in $(cd $ARCHBASE/$PKG/ ; ls *.pkg.tar.xz.html) ; do

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