summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
32dde2a)
Change-Id: Idae0b28eb6b6a69153f9caa98566935275dc2987
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
<scm/>
</io.jenkins.plugins.analysis.core.steps.IssuesRecorder>
- archive: &babeltrace_publisher_archive_defaults
<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:
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
<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:
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
<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:
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
</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
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
<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:
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 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"
# 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 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
# 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 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"
# 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
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"
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"
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 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"
# 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"