[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Archlinux: fix regex to detect download problem

Holger Levsen gitlab at salsa.debian.org
Fri Sep 14 21:27:23 BST 2018


Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
051e3667 by Holger Levsen at 2018-09-14T20:27:16Z
reproducible Archlinux: fix regex to detect download problem

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


1 changed file:

- bin/reproducible_html_archlinux.sh


Changes:

=====================================
bin/reproducible_html_archlinux.sh
=====================================
@@ -127,7 +127,7 @@ create_pkg_state_and_html() {
 			elif [ ! -z "$(grep 'The requested URL returned error: 404' $ARCHLINUX_PKG_PATH/build1.log $ARCHLINUX_PKG_PATH/build2.log 2>/dev/null)" ] ; then
 				echo 404_3 > $ARCHLINUX_PKG_PATH/pkg.state
 				EXTRA_REASON="with 404 - file not found"
-			elif [ ! -z "$(egrep '==> ERROR: Failed to source .*PKGBUILD' $ARCHLINUX_PKG_PATH/build1.log $ARCHLINUX_PKG_PATH/build2.log 2>/dev/null)" ] ; then
+			elif [ ! -z "$(egrep 'Failed to source PKGBUILD.*PKGBUILD' $ARCHLINUX_PKG_PATH/build1.log $ARCHLINUX_PKG_PATH/build2.log 2>/dev/null)" ] ; then
 				echo 404_A > $ARCHLINUX_PKG_PATH/pkg.state
 				EXTRA_REASON="unclear why"
 			fi



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/051e366796fa1128063bcda5a1e379a625fe8691

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/051e366796fa1128063bcda5a1e379a625fe8691
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20180914/b9788b9d/attachment.html>


More information about the Qa-jenkins-scm mailing list