From 133dbdd4cce04d6afa949fc0e7cbd304d9fe1f25 Mon Sep 17 00:00:00 2001 From: Bill Collins Date: Fri, 8 Jan 2021 14:47:03 +0000 Subject: [PATCH] Add missing output titles --- .../java/io/jenkins/plugins/checks/steps/WithChecksStep.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/io/jenkins/plugins/checks/steps/WithChecksStep.java b/src/main/java/io/jenkins/plugins/checks/steps/WithChecksStep.java index b97559d4..c722246f 100644 --- a/src/main/java/io/jenkins/plugins/checks/steps/WithChecksStep.java +++ b/src/main/java/io/jenkins/plugins/checks/steps/WithChecksStep.java @@ -189,6 +189,7 @@ public void onFailure(final StepContext context, final Throwable t) { .collect(Collectors.joining("\n\n")); builder.withConclusion(ChecksConclusion.CANCELED) .withOutput(outputBuilder + .withTitle("Cancelled") .withText(summary) .build()); @@ -196,6 +197,7 @@ public void onFailure(final StepContext context, final Throwable t) { else { builder.withConclusion(ChecksConclusion.FAILURE) .withOutput(outputBuilder + .withTitle("Failed") .withText(t.toString()).build()); } publish(context, builder);