aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/common/include-agl-run-test-rsync-release.sh
diff options
context:
space:
mode:
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