[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible maintenance: gracefully hide intercepted errors

Holger Levsen (@holger) gitlab at salsa.debian.org
Fri Mar 17 16:17:06 GMT 2023



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


Commits:
2fd4cba9 by Holger Levsen at 2023-03-17T17:14:56+01:00
reproducible maintenance: gracefully hide intercepted errors

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

- - - - -


1 changed file:

- bin/reproducible_maintenance.sh


Changes:

=====================================
bin/reproducible_maintenance.sh
=====================================
@@ -208,7 +208,7 @@ if [ "$HOSTNAME" = "$MAINNODE" ] ; then
 		if [ "$LAST" = "$GOOD" ] ; then
 			DIFF=0
 		else
-			let DIFF=$LAST-$GOOD || DIFF=-1
+			let DIFF=$LAST-$GOOD 2>/dev/null|| DIFF=-1
 		fi
 		if [ $DIFF -eq -1 ] ; then
 			echo "Warning: Problems analysing $i build logs, ignoring $NODE."



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/2fd4cba929c93160d914e52969ffdf57a478df67

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/2fd4cba929c93160d914e52969ffdf57a478df67
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/20230317/bc6a2fd5/attachment.htm>


More information about the Qa-jenkins-scm mailing list