From 9e7338beb4df1234a882063cf01c6acbacaebe84 Mon Sep 17 00:00:00 2001 From: Kienan Stewart Date: Mon, 20 Jan 2025 09:41:05 -0500 Subject: [PATCH] jjb: lttng-tools: Copy `*.logfile` to tap directory This will cause any of the verbose debug logs to that remain (e.g., from failed tests) to be archived Change-Id: I63063f4f621eed858d74ea1bda1815ded1c9abb6 Signed-off-by: Kienan Stewart --- scripts/lttng-tools/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/lttng-tools/build.sh b/scripts/lttng-tools/build.sh index db52cd2..6ed633b 100755 --- a/scripts/lttng-tools/build.sh +++ b/scripts/lttng-tools/build.sh @@ -565,8 +565,8 @@ if [ "$LTTNG_TOOLS_RUN_TESTS" = "yes" ] && [[ ! "$conf" =~ (no-ust|relayd-only) make --keep-going check || exit_status=1 - # Copy tap logs for the jenkins tap parser before cleaning the build dir - rsync -a --exclude 'test-suite.log' --include '*/' --include '*.log' --exclude='*' tests/ "$TAPDIR" + # Copy tap logs for the jenkins tap parser before cleaning the build dir + rsync -a --exclude 'test-suite.log' --include '*/' --include '*.log' --include '*.logfile' --exclude='*' tests/ "$TAPDIR" # Copy the test suites top-level log which includes all tests failures rsync -a --include 'test-suite.log' --include '*/' --exclude='*' tests/ "$WORKSPACE/log" -- 2.39.5