aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/common/include-agl-run-test-rsync-release.sh
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2020-03-30 18:26:41 +0000
committerGerrit Code Review <gerrit@automotivelinux.org>2020-03-30 18:26:41 +0000
commitbd12ba03d7eb58c74630bcc8354338f400f0e4d6 (patch)
tree9a2d10ba3b04924d7a112fc444d6662f382fe2b2 /jjb/common/include-agl-run-test-rsync-release.sh
parent567eae96717b279ccf7a4a8d475660daa6b94eed (diff)
parent47533a77f8826718e7f79cce01ec9bc1e03bfadb (diff)
Merge "SPEC-2962: permit to have more than one board per build"
Diffstat (limited to 'jjb/common/include-agl-run-test-rsync-release.sh')
-rw-r--r--jjb/common/include-agl-run-test-rsync-release.sh14
1 files changed, 11 insertions, 3 deletions
diff --git a/jjb/common/include-agl-run-test-rsync-release.sh b/jjb/common/include-agl-run-test-rsync-release.sh
index abab0f34..7be8bfa3 100644
--- a/jjb/common/include-agl-run-test-rsync-release.sh
+++ b/jjb/common/include-agl-run-test-rsync-release.sh
@@ -25,11 +25,19 @@ cd output
#pwd
#ls -alhR tmp/deploy/images
-# copy files to $DEST
-for i in DEVICE_DTB DEVICE_KERNEL DEVICE_INITRAMFS DEVICE_NBDROOT; do
- eval cp -avL tmp/deploy/images/${TARGETMACHINE}/$(echo "$"${i}) ${DEST}/
+for board in $(ls $BOARDOUT)
+do
+ # copy files to $DEST
+ . $BOARDOUT/$board/info
+ echo "INFO: copy artifact for $x_releng_device/$x_lava_device"
+ for i in DEVICE_DTB DEVICE_KERNEL DEVICE_INITRAMFS DEVICE_NBDROOT; do
+ eval cp -avL tmp/deploy/images/${TARGETMACHINE}/$(echo "$"${i}) ${DEST}/
+ done
done
+# for the moment, nothing more use this directory, clean it
+rm -r $BOARDOUT
+
tree $DEST
ls -alhR $DEST