jjb: Remove corrupted YAML when parsing TAP results on lttng-tools
authorKienan Stewart <kstewart@efficios.com>
Wed, 24 Jan 2024 13:43:25 +0000 (08:43 -0500)
committerKienan Stewart <kstewart@efficios.com>
Fri, 2 Feb 2024 14:07:03 +0000 (09:07 -0500)
While `stdbuf` helps, it doesn't guarantee that the YAML sections in
the TAP output are parseable.

Requires: jenkins-job-buidler with the following patch:
https://review.opendev.org/c/jjb/jenkins-job-builder/+/906536

Change-Id: Ibf9780fef5334d1c2abfe4a339776c40e822824a
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
jobs/lttng-tools.yaml

index a0911646eb96b68dad49d58bcaf9c62efbdce4bb..6f0359225f6f344490467b25b45d35dab3ef3315 100644 (file)
           include-comment-diagnostics: true
           output-tap-to-console: false
           todo-is-failure: false
+          remove-yaml-if-corrupted: true
 
       - raw: &lttng-tools_publisher_warnings-ng_defaults
           xml: |
This page took 0.04077 seconds and 4 git commands to generate.