osmith has uploaded this change for review. (
https://gerrit.osmocom.org/c/osmo-ci/+/29094
)
Change subject: jobs/master-builds: archive core, testsuite.log
......................................................................
jobs/master-builds: archive core, testsuite.log
In case one of the master-buils is segfaulting or has an error in the
testsuite, collect the relevant files and store them as artifacts.
It was asked in the related issue to do this only on error, however
while there's an option to archive only artifacts when a build is
successful, there is not an option to do it only on failure. So just do
it always, the testsuite.log file is typically just a few kb in size.
core files should only get generated on error.
Closes: OS#5642
Change-Id: I91d4b995b16c8e028a5dff19b0e0f09c01d8c8c6
---
M jobs/master-builds.yml
1 file changed, 3 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/94/29094/1
diff --git a/jobs/master-builds.yml b/jobs/master-builds.yml
index abeb4d6..eb1bf38 100644
--- a/jobs/master-builds.yml
+++ b/jobs/master-builds.yml
@@ -478,6 +478,9 @@
- shell: '{obj:cmd}'
publishers:
+ - archive:
+ allow-empty: true
+ artifacts: '**/core, **/testsuite.log'
- warnings:
console-log-parsers:
- 'GNU C Compiler 4 (gcc)'
--
To view, visit
https://gerrit.osmocom.org/c/osmo-ci/+/29094
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I91d4b995b16c8e028a5dff19b0e0f09c01d8c8c6
Gerrit-Change-Number: 29094
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-MessageType: newchange