[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] djm: fixup logic when to fetch logs

Holger Levsen (@holger) gitlab at salsa.debian.org
Fri Jun 9 13:54:13 BST 2023



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


Commits:
038bb433 by Holger Levsen at 2023-06-09T14:54:03+02:00
djm: fixup logic when to fetch logs

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

- - - - -


1 changed file:

- bin/djm


Changes:

=====================================
bin/djm
=====================================
@@ -674,7 +674,7 @@ show_fixmes() {
 djm_finish() {
 	DUMMY=$(mktemp)
 	touch -d "$(date -u -d "12 hours ago" '+%Y-%m-%d %H:%M') UTC" $DUMMY
-	if ! $NO_FETCH || $FETCH || [ ! -f $JOBS ] || [ $DUMMY -nt $JOBS ] ; then
+	if ! $NO_FETCH && ( $FETCH || [ ! -f $JOBS ] || [ $DUMMY -nt $JOBS ] ) ; then
 		if ! $DRY_RUN ; then
 			echo "Fetching remote logs."
 			djm_fetch



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

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/038bb4331b05cf79813749290d124a90f2531279
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/20230609/a4234fb0/attachment.htm>


More information about the Qa-jenkins-scm mailing list