When navigating to the build artifacts, having this file in the
'root' makes it much more visible for users.
Change-Id: I7dfed9fd94d615e68a1d7659ddf2cc0096968dce
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
allow-empty-results: true
- archive: <tng-tools_publisher_archive_defaults
- artifacts: 'build/**,deps/**,tap/**,log/**'
+ artifacts: 'build/**,deps/**,tap/**,log/**,core.tar.xz'
follow-symlinks: true
allow-empty: false
# If we recorded some files to collect, pack them up.
if [ -s "$file_list" ]; then
- mkdir -p "${WORKSPACE}/build"
- tar cJfh "${WORKSPACE}/build/core.tar.xz" -T <(sort "$file_list" | uniq)
+ mkdir -p "${WORKSPACE}/"
+ tar cJfh "${WORKSPACE}/core.tar.xz" -T <(sort "$file_list" | uniq)
fi
# Remove core files