aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2022-08-16 15:42:59 +0200
committerosmith <osmith@sysmocom.de>2022-08-17 08:10:12 +0000
commit71bafe74d350ae17d119bcedb9e0d3575f4a64a0 (patch)
treeb8642c851e1cd075a239102ae2844222657acb2d
parentc90ee51321659171574839378615c08dc6ef5a22 (diff)
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
-rw-r--r--jobs/master-builds.yml3
1 files changed, 3 insertions, 0 deletions
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)'