total-high: 0
total-normal: 0
total-low: 0
+ - archive:
+ artifacts: 'tap/**'
+ allow-empty: false
- email-ext:
recipients: '{obj:email_to}'
always: false
total-normal: 0
total-low: 0
- archive:
- artifacts: 'build/**'
+ artifacts: 'build/**,tap/**'
allow-empty: false
- email-ext:
recipients: '{obj:email_to}'
total-normal: 0
total-low: 0
- archive:
- artifacts: 'build/**'
+ artifacts: 'build/**,tap/**'
allow-empty: false
cron: "@daily"
<<: *babeltrace_version_glib-2-22-5_anchor
publishers:
+ - archive:
+ artifacts: 'tap/**'
+ allow-empty: false
- email-ext:
recipients: '{obj:email_to}'
reply-to: ci-notification@lists.lttng.org
#!/bin/bash -exu
#
-# Copyright (C) 2015 - Jonathan Rajotte-Julien <jonathan.rajotte-julien@efficios.com>
-# 2016 - Michael Jeanson <mjeanson@efficios.com>
+# Copyright (C) 2015 Jonathan Rajotte-Julien <jonathan.rajotte-julien@efficios.com>
+# 2016-2019 Michael Jeanson <mjeanson@efficios.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
$MAKE -j "$($NPROC)" V=1
$MAKE install
-# Run tests
+# Run tests, don't fail now, we want to run the archiving steps
+set +e
$MAKE --keep-going check
+ret=$?
+set -e
# Copy tap logs for the jenkins tap parser
rsync -a --exclude 'test-suite.log' --include '*/' --include '*.log' --exclude='*' tests/ "$WORKSPACE/tap"
rm -rf "$BUILD_PATH"
fi
+# Exit with the return code of the test suite
+exit $ret
+
# EOF