<scm/>
</io.jenkins.plugins.analysis.core.steps.IssuesRecorder>
- archive: &babeltrace_publisher_archive_defaults
- artifacts: 'build/**,tap/**'
+ artifacts: 'build/**,tap/**,log/**'
allow-empty: false
- workspace-cleanup: &babeltrace_publisher_workspace-cleanup_defaults
clean-if:
<scm/>
</io.jenkins.plugins.analysis.core.steps.IssuesRecorder>
- archive: &librseq_publisher_archive_defaults
- artifacts: 'build/**,tap/**'
+ artifacts: 'build/**,tap/**,log/**'
allow-empty: false
- workspace-cleanup: &librseq_publisher_workspace-cleanup_defaults
clean-if:
<scm/>
</io.jenkins.plugins.analysis.core.steps.IssuesRecorder>
- archive: &liburcu_publisher_archive_defaults
- artifacts: 'build/**,tap/**'
+ artifacts: 'build/**,tap/**,log/**'
allow-empty: false
- workspace-cleanup: &liburcu_publisher_workspace_cleanup_defaults
clean-if:
</io.jenkins.plugins.analysis.core.steps.IssuesRecorder>
- archive: <tng-tools_publisher_archive_defaults
- artifacts: 'build/**,deps/**,tap/**'
+ artifacts: 'build/**,deps/**,tap/**,log/**'
allow-empty: false
- workspace-cleanup: <tng-tools_publisher_workspace-cleanup_defaults
<scm/>
</io.jenkins.plugins.analysis.core.steps.IssuesRecorder>
- archive: <tng-ust_publisher_archive_defaults
- artifacts: 'build/**,tap/**'
+ artifacts: 'build/**,tap/**,log/**'
allow-empty: false
- workspace-cleanup: <tng-ust_publisher_workspace-cleanup_defaults
clean-if:
# Copy tap logs for the jenkins tap parser before cleaning the build dir
rsync -a --exclude 'test-suite.log' --include '*/' --include '*.log' --exclude='*' tests/ "$WORKSPACE/tap"
+ # Copy the test suites top-level log which includes all tests failures
+ rsync -a --include 'test-suite.log' --include '*/' --exclude='*' tests/ "$WORKSPACE/log"
+
# The test suite prior to 1.5 did not produce TAP logs
if verlt "$PACKAGE_VERSION" "1.5"; then
mkdir -p "$WORKSPACE/tap/no-log"
# Copy tap logs for the jenkins tap parser before cleaning the build dir
rsync -a --exclude 'test-suite.log' --include '*/' --include '*.log' --exclude='*' tests/ "$WORKSPACE/tap"
+# Copy the test suites top-level log which includes all tests failures
+rsync -a --include 'test-suite.log' --include '*/' --exclude='*' tests/ "$WORKSPACE/log"
+
# Clean the build directory
$MAKE clean
# Copy tap logs for the jenkins tap parser before cleaning the build dir
rsync -a --exclude 'test-suite.log' --include '*/' --include '*.log' --exclude='*' tests/ "$WORKSPACE/tap"
+ # Copy the test suites top-level log which includes all tests failures
+ rsync -a --include 'test-suite.log' --include '*/' --exclude='*' tests/ "$WORKSPACE/log"
+
# The test suite prior to 0.11 did not produce TAP logs
if verlt "$PACKAGE_VERSION" "0.11"; then
mkdir -p "$WORKSPACE/tap/no-log"
fi
make --keep-going check || failed_tests=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 the test suites top-level log which includes all tests failures
+ rsync -a --include 'test-suite.log' --include '*/' --exclude='*' tests/ "$WORKSPACE/log"
else
cd tests
mkdir -p "$TAPDIR/unit"
# Copy tap logs for the jenkins tap parser before cleaning the build dir
rsync -a --exclude 'test-suite.log' --include '*/' --include '*.log' --exclude='*' tests/ "$WORKSPACE/tap"
+ # Copy the test suites top-level log which includes all tests failures
+ rsync -a --include 'test-suite.log' --include '*/' --exclude='*' tests/ "$WORKSPACE/log"
+
# The test suite prior to 2.8 did not produce TAP logs
if verlt "$PACKAGE_VERSION" "2.8"; then
mkdir -p "$WORKSPACE/tap/no-log"