[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Debian rebuilder prototype: correctly process sbuild exit code
Holger Levsen
gitlab at salsa.debian.org
Thu Jul 9 21:17:12 BST 2020
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
cfa2ba45 by Holger Levsen at 2020-07-09T22:16:46+02:00
reproducible Debian rebuilder prototype: correctly process sbuild exit code
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- bin/reproducible_debian_rebuilder_prototype.sh
Changes:
=====================================
bin/reproducible_debian_rebuilder_prototype.sh
=====================================
@@ -220,9 +220,10 @@ output_echo "using this sbuild command line:"
echo $SBUILD
echo
set +e
-RESULT=$(eval $SBUILD)
+eval $SBUILD
+RESULT=$?
if [ "$RESULT" != "0" ] ; then
- output_echo "sbuild failed:"
+ output_echo "sbuild exited with $RESULT:"
LOGFILE="./${PKG}_${VERSION}_${ARCH}.build"
if [ -L $LOGFILE ] ; then
cat $LOGFILE
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/cfa2ba4504ab180246564dc47d81d463345adceb
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/cfa2ba4504ab180246564dc47d81d463345adceb
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/20200709/180a19e1/attachment.html>
More information about the Qa-jenkins-scm
mailing list