From 8aef6eab499461a698a27aad11e7e6755cfc66c5 Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Tue, 12 Jul 2022 17:02:08 -0400 Subject: [PATCH] jjb: babeltrace: fail gerrit jobs on compiler warnings Change-Id: I1fb52a4702a32a39bdda1a975d8b06b8a62eb084 Signed-off-by: Michael Jeanson --- jobs/babeltrace.yaml | 50 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 49 insertions(+), 1 deletion(-) diff --git a/jobs/babeltrace.yaml b/jobs/babeltrace.yaml index 3d5b0c0..71bbb18 100644 --- a/jobs/babeltrace.yaml +++ b/jobs/babeltrace.yaml @@ -252,7 +252,55 @@ name: 'babeltrace_publishers_gerrit' publishers: - tap: *babeltrace_publisher_tap_defaults - - raw: *babeltrace_publisher_warnings-ng_defaults + # Fail job on any compiler warnings + - raw: + xml: | + + + + + + + + + false + + + + + + + + false + + + + + + false + true + false + 0 + 0 + + LOW + + + true + true + false + true + false + + + 1 + TOTAL + FAILED + + + AGGREGATION_TOOLS + + - archive: *babeltrace_publisher_archive_defaults - workspace-cleanup: *babeltrace_publisher_workspace-cleanup_defaults -- 2.34.1