[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible_openwrt: correct log artifacts in failure case

Holger Levsen (@holger) gitlab at salsa.debian.org
Sun Jul 11 17:00:10 BST 2021



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


Commits:
29cfbe18 by Alexander Couzens at 2021-07-11T17:59:57+02:00
reproducible_openwrt: correct log artifacts in failure case

When an OpenWrt build fails the log artifacts were wrong. Use the correct
path to save the correct log files

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

- - - - -


1 changed file:

- bin/reproducible_openwrt.sh


Changes:

=====================================
bin/reproducible_openwrt.sh
=====================================
@@ -2,7 +2,7 @@
 
 # Copyright 2014-2021 Holger Levsen <holger at layer-acht.org>
 #         © 2015 Reiner Herrmann <reiner at reiner-h.de>
-#           2016-2018 Alexander Couzens <lynxis at fe80.eu>
+#           2016-2021 Alexander Couzens <lynxis at fe80.eu>
 # released under the GPLv2
 #
 # long live LEDE.
@@ -72,8 +72,8 @@ master_cleanup_tmpdirs() {
 		$SSHN2 "reproducible_openwrt" node node_save_logs "$TMPBUILDDIR" || true
 		# save failure logs
 		mkdir -p "$WORKSPACE/results/"
-		rsync -av "$GENERIC_NODE1:$RESULTSDIR/build_logs.tar.xz" "$WORKSPACE/results/build_logs_b1.tar.xz" || true
-		rsync -av "$GENERIC_NODE2:$RESULTSDIR/build_logs.tar.xz" "$WORKSPACE/results/build_logs_b2.tar.xz" || true
+		rsync -av "$GENERIC_NODE1:$TMPBUILDDIR/build_logs.tar.xz" "$WORKSPACE/results/build_logs_b1.tar.xz" || true
+		rsync -av "$GENERIC_NODE2:$TMPBUILDDIR/build_logs.tar.xz" "$WORKSPACE/results/build_logs_b2.tar.xz" || true
 	fi
 
 	$SSHN1 "reproducible_openwrt" node node_cleanup_tmpdirs "$TMPBUILDDIR" || true



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

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/29cfbe180a6d36d406074060f9a14e2fc426588a
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/20210711/a9212ea5/attachment.htm>


More information about the Qa-jenkins-scm mailing list