diff options
author | Alexander Couzens <lynxis@fe80.eu> | 2016-10-13 02:15:07 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-10-13 10:48:05 +0200 |
commit | 3c0a4c8ca8858a4473a90508f3d1bfa871e1f410 (patch) | |
tree | fb5db3acc00d2f6bf1b0a687848dee48b6267bb6 | |
parent | e5d1afffdf442f53ac1bbeb7047ba732b0da3f6a (diff) | |
download | jenkins.debian.net-3c0a4c8ca8858a4473a90508f3d1bfa871e1f410.tar.xz |
reproducible_openwrt|lede: copy log files to $WORKSPACE/results/
Signed-off-by: Holger Levsen <holger@layer-acht.org>
-rw-r--r-- | bin/reproducible_openwrt_common.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/reproducible_openwrt_common.sh b/bin/reproducible_openwrt_common.sh index bb107a18..ffaeb555 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 } |