[Qa-jenkins-scm] [jenkins.debian.net] 02/04: reproducible rpms: detect failures to resolve dependencies

Holger Levsen holger at moszumanska.debian.org
Fri Dec 18 16:19:33 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 0137cb16e40df28cb0e20bce398e87465a514a9c
Author: Holger Levsen <holger at layer-acht.org>
Date:   Fri Dec 18 17:14:10 2015 +0100

    reproducible rpms: detect failures to resolve dependencies
---
 bin/reproducible_html_rpms.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/reproducible_html_rpms.sh b/bin/reproducible_html_rpms.sh
index c21de73..339feb3 100755
--- a/bin/reproducible_html_rpms.sh
+++ b/bin/reproducible_html_rpms.sh
@@ -47,7 +47,7 @@ for PKG in $(find $RPMBASE/$RELEASE/$ARCH/* -maxdepth 1 -type d -exec basename {
 	echo "      <td>$PKG</td>" >> $HTML_BUFFER
 	echo "      <td>" >> $HTML_BUFFER
 	if [ -z "$(cd $RPMBASE/$RELEASE/$ARCH/$PKG/ ; ls *.rpm.html 2>/dev/null)" ] ; then
-		if [ ! -z "$(grep '==> ERROR: Could not resolve all dependencies' $RPMBASE/$RELEASE/$ARCH/$PKG/build1.log)" ] ; then
+		if [ ! -z "$(egrep '^DEBUG: Error: No Package found for' $RPMBASE/$RELEASE/$ARCH/$PKG/build1.log)" ] ; then
 			HTML_TARGET=$HTML_DEPWAIT
 			let NR_DEPWAIT+=1
 			echo "       <img src=\"/userContent/static/weather-snow.png\" alt=\"depwait icon\" /> could not resolve dependencies" >> $HTML_BUFFER

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