CI: collect certain intermediate files as artifacts (part 2)

Build issues may also surface for analysis jobs. Collect intermediate
files (if any) there as well. Include xen/.config too, since it's not
otherwise collected.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
This commit is contained in:
Jan Beulich committed 2026-05-22 08:17:34 +02:00
1 parent 35de7285d5
commit 1615934e29
2 files changed
+13 -1

No files matched your search

+12 -1
View File
@@ -58,10 +58,21 @@ runtime_failures_docs() {
( (
runtime_failures_docs runtime_failures_docs
ret=0
mkdir -p intermediates
make "-j${PROCESSORS}" "-l${PROCESSORS}.0" \ make "-j${PROCESSORS}" "-l${PROCESSORS}.0" \
"CROSS_COMPILE=${CROSS_COMPILE}" \ "CROSS_COMPILE=${CROSS_COMPILE}" \
"CC=${CC}" \ "CC=${CC}" \
"CXX=${CXX}" \ "CXX=${CXX}" \
"XEN_TARGET_ARCH=${XEN_TARGET_ARCH}" \ "XEN_TARGET_ARCH=${XEN_TARGET_ARCH}" \
-C xen -C xen || ret=$?
# Preserve Xen intermediate files. Some may be there only upon build failure.
for f in xen/.config xen/.xen-syms.* xen/.xen.efi.*; do
if [[ -f $f ]]; then
cp $f intermediates/
fi
done
exit $ret
) )
+1
View File
@@ -18,6 +18,7 @@
- "${ECLAIR_OUTPUT_DIR}/*.txt" - "${ECLAIR_OUTPUT_DIR}/*.txt"
- '*.log' - '*.log'
- '*.json' - '*.json'
- intermediates/
reports: reports:
codequality: gl-code-quality-report.json codequality: gl-code-quality-report.json
rules: rules:
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.