aboutsummaryrefslogtreecommitdiff
path: root/lhg-oe-build
diff options
context:
space:
mode:
authorAndrey Konovalov <andrey.konovalov@linaro.org>2017-09-29 07:57:06 -0700
committerAndrey Konovalov <andrey.konovalov@linaro.org>2017-09-29 07:57:06 -0700
commit69c519f03f838f53e04531083f02b2f98ff5cdea (patch)
treee27dadbf49a380d045100ea0595a4842c118a54a /lhg-oe-build
parentcede0968d2227ed27c6fb0fc761091ef5deee0eb (diff)
lhg-oe-build: fix archiving the build artefacts
The relevant part of the build script was deleted when moved to docker slave. Put it back. Change-Id: I3d32b51b9cd743bbc8c6af9c9e838b7a410b036d Signed-off-by: Andrey Konovalov <andrey.konovalov@linaro.org>
Diffstat (limited to 'lhg-oe-build')
-rwxr-xr-xlhg-oe-build/builders.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/lhg-oe-build/builders.sh b/lhg-oe-build/builders.sh
index 0fee4128..c3e82ef6 100755
--- a/lhg-oe-build/builders.sh
+++ b/lhg-oe-build/builders.sh
@@ -139,6 +139,11 @@ mv MD5SUMS.txt ${DEPLOY_DIR_IMAGE}
#* Manifest commit: "${MANIFEST_COMMIT}":https://github.com/96boards/oe-rpb-manifest/commit/${MANIFEST_COMMIT}
#EOF
+# The archive publisher can't handle files located outside
+# ${WORKSPACE} - create the link before archiving.
+rm -f ${WORKSPACE}/out
+ln -s ${DEPLOY_DIR_IMAGE} ${WORKSPACE}/out
+
# Need different files for each machine
BOOT_IMG=$(find ${DEPLOY_DIR_IMAGE} -type f -name "boot-*-${MACHINE}-*-${BUILD_NUMBER}.img" | xargs -r basename)
ROOTFS_EXT4_IMG=$(find ${DEPLOY_DIR_IMAGE} -type f -name "rpb-console-image-lava-${MACHINE}-*-${BUILD_NUMBER}.rootfs.ext4.gz" | xargs -r basename)