Skip to content

Commit

Permalink
Add missing output titles
Browse files Browse the repository at this point in the history
  • Loading branch information
mrginglymus committed Jan 8, 2021
1 parent c427313 commit 133dbdd
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -189,13 +189,15 @@ 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());

}
else {
builder.withConclusion(ChecksConclusion.FAILURE)
.withOutput(outputBuilder
.withTitle("Failed")
.withText(t.toString()).build());
}
publish(context, builder);
Expand Down

0 comments on commit 133dbdd

Please sign in to comment.