[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible openwrt: keep build_logs.tar.xz in /srv/reproducible-results/

Holger Levsen gitlab at salsa.debian.org
Fri Oct 5 13:40:48 BST 2018


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


Commits:
13bdde6d by Holger Levsen at 2018-10-05T12:40:25Z
reproducible openwrt: keep build_logs.tar.xz in /srv/reproducible-results/

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

- - - - -


1 changed file:

- bin/reproducible_openwrt.sh


Changes:

=====================================
bin/reproducible_openwrt.sh
=====================================
@@ -133,6 +133,10 @@ node_save_logs() {
 	else
 		echo "$(date -u) - saving \$tmpdir/build/source in $tmpdir/build_logs.tar.xz"
 		tar cJf "$tmpdir/build_logs.tar.xz" -C "$tmpdir/build/source" ./logs
+		echo "$(date -u) - $(ls -lh $tmpdir/build_logs.tar.xz)"
+		local result_tar="/srv/reproducible-results/$(echo $BUILD_URL | cut -d '/' -f5- | sed 's#/#_#g')_build_logs.tar.xz"
+		cp $tmpdir/build_logs.tar.xz ${result_tar}
+		echo "$(date -u) - saving \$tmpdir/build_logs.tar.xz in ${result_tar} on $(hostname)"
 	fi
 
 	node_document_environment "$tmpdir"



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/13bdde6dc57cc4f62fef2cb5049fde2aab9106a3

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/13bdde6dc57cc4f62fef2cb5049fde2aab9106a3
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/20181005/43f73517/attachment.html>


More information about the Qa-jenkins-scm mailing list