[Git][qa/jenkins.debian.net][master] d-i: No errors on dcmd rm

Holger Levsen (@holger) gitlab at salsa.debian.org
Sun Jun 21 09:33:39 BST 2026



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


Commits:
93fb7fd2 by Roland Clobus at 2026-06-21T10:33:18+02:00
d-i: No errors on dcmd rm

If both source and binary .changes files are present, don't fail the
jobs because the files are already deleted

(cherry picked from commit 2f7b9ba125313701c1542e3c5eea348d91bab239)
Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


1 changed file:

- bin/d-i_build.sh


Changes:

=====================================
bin/d-i_build.sh
=====================================
@@ -161,7 +161,9 @@ EOF
 	cat ${RESULT_DIR}/${SOURCE}_*changes
 	echo
 	preserve_artifacts
-	sudo dcmd rm ${RESULT_DIR}/${SOURCE}_*changes
+	# Don't fail the job when a file is already deleted
+	# (because the source and binary .changes refer to the same file)
+	sudo dcmd rm ${RESULT_DIR}/${SOURCE}_*changes || true
 }
 
 clean_workspace



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

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/93fb7fd237024da92383c96eccb38101b0a0bd9e
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20260621/a7cf284b/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list