The following plugin provides functionality available through
Pipeline-compatible steps. Read more about how to integrate steps into your
Pipeline in the
Steps
section of the
Pipeline Syntax
page.
publishChecks: Publish customized checks to SCM platforms
actions (optional)
Array / List of Nested Object
label : String
label : String
The label to be displayed on the checks report for this action.
identifier : String
identifier : String
The unique identifier for the action. Since for SCM platforms like GitHub, this is the only field that would be sent back to your Jenkins instance when an action is requested, so you may need to use this field to have more information besides the basic type of the action.
description : String
description : String (optional)
Detailed description of the action's purpose, functionality, and so on.
annotations (optional)
Array / List of Nested Object
path : String
path : String
Path to the file to be annotated, started from the project root directory.
startLine : int
startLine : int
Start line of code to be annotated.
endLine : int
endLine : int
End line of code to be annotated.
message : String
message : String
A digest message of the annotation.
annotationLevel
annotationLevel (optional)
Severity level of the annotation, can be one of can be "NOTICE", "WARNING", or "FAILURE"; by default, "WARNING" will be used.
Values:NONE, NOTICE, WARNING, FAILURE
endColumn : int
endColumn : int (optional)
End column of code to be annotated.
rawDetails : String
rawDetails : String (optional)
Raw details of the annotation.
startColumn : int
startColumn : int (optional)
Start column of code to be annotated.
title : String
title : String (optional)
Title of the annotation.
conclusion (optional)
The conclusion of the check, can be "ACTION_REQUIRED", "SKIPPED", "CANCELED", "TIME_OUT", "FAILURE", "NEUTRAL", "SUCCESS" or "NONE". By default, "SUCCESS" will be used. When providing the conclusion other than "NONE", please make sure the status is "COMPLETED".