[Qa-jenkins-scm] [jenkins.debian.net] 01/02: reproducible_openwrt|lede: copy log files to $WORKSPACE/results/
Holger Levsen
holger at layer-acht.org
Thu Oct 13 08:48:27 UTC 2016
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit 3c0a4c8ca8858a4473a90508f3d1bfa871e1f410
Author: Alexander Couzens <lynxis at fe80.eu>
Date: Thu Oct 13 02:15:07 2016 +0200
reproducible_openwrt|lede: copy log files to $WORKSPACE/results/
Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
bin/reproducible_openwrt_common.sh | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/bin/reproducible_openwrt_common.sh b/bin/reproducible_openwrt_common.sh
index bb107a1..ffaeb55 100644
--- a/bin/reproducible_openwrt_common.sh
+++ b/bin/reproducible_openwrt_common.sh
@@ -307,6 +307,9 @@ build_two_times() {
ssh $GENERIC_NODE2 reproducible_$TYPE node node_create_tmpdirs $TMPDIR
mkdir -p $TMPDIR/download/
+ # create results directory saved by jenkins as artifacts
+ mkdir -p $WORKSPACE/results/
+
# download and prepare openwrt on node b1
ssh $GENERIC_NODE1 reproducible_$TYPE node openwrt_download $TYPE $TARGET $CONFIG $TMPDIR
@@ -327,6 +330,7 @@ build_two_times() {
# rsync back logs and images
rsync -av $GENERIC_NODE1:$TMPDIR/$RUN/ $TMPDIR/$RUN/
+ rsync -av $GENERIC_NODE1:$TMPDIR/build_logs.tar.xz $WORKSPACE/results/build_logs_b1.tar.xz
ssh $GENERIC_NODE1 reproducible_$TYPE node node_cleanup_tmpdirs $TMPDIR
## second run
@@ -335,5 +339,6 @@ build_two_times() {
# rsync back logs and images
rsync -av $GENERIC_NODE2:$TMPDIR/$RUN/ $TMPDIR/$RUN/
+ rsync -av $GENERIC_NODE2:$TMPDIR/build_logs.tar.xz $WORKSPACE/results/build_logs_b2.tar.xz
ssh $GENERIC_NODE2 reproducible_$TYPE node node_cleanup_tmpdirs $TMPDIR
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list