Package io.jenkins.plugins.checks.steps
Class PublishChecksStep
java.lang.Object
hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
org.jenkinsci.plugins.workflow.steps.Step
io.jenkins.plugins.checks.steps.PublishChecksStep
- All Implemented Interfaces:
ExtensionPoint
,Describable<org.jenkinsci.plugins.workflow.steps.Step>
,Serializable
public class PublishChecksStep
extends org.jenkinsci.plugins.workflow.steps.Step
implements Serializable
Pipeline step to publish customized checks.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
This step's descriptor which defines function name, display name, and context.static class
A simple wrapper forChecksAction
to allow users add checks actions byPublishChecksStep
.static class
A simple wrapper forChecksAnnotation
to allow users add code annotations byPublishChecksStep
.Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
getText()
getTitle()
void
setActions
(List<PublishChecksStep.StepChecksAction> actions) void
setAnnotations
(List<PublishChecksStep.StepChecksAnnotation> annotations) void
setConclusion
(ChecksConclusion conclusion) void
setDetailsURL
(String detailsURL) void
void
setStatus
(ChecksStatus status) Change the status of the check.void
setSummary
(String summary) void
void
org.jenkinsci.plugins.workflow.steps.StepExecution
start
(org.jenkinsci.plugins.workflow.steps.StepContext stepContext) Methods inherited from class org.jenkinsci.plugins.workflow.steps.Step
getDescriptor
-
Constructor Details
-
PublishChecksStep
@DataBoundConstructor public PublishChecksStep()Constructor used for pipeline by Stapler.
-
-
Method Details
-
setName
-
setSummary
-
setTitle
-
setText
-
setDetailsURL
-
setStatus
Change the status of the check. When thestatus
isChecksStatus.QUEUED
orChecksStatus.IN_PROGRESS
, the conclusion will be reset toChecksConclusion.NONE
- Parameters:
status
- the status to be set
-
setConclusion
-
setActions
-
setAnnotations
@DataBoundSetter public void setAnnotations(List<PublishChecksStep.StepChecksAnnotation> annotations) -
getName
-
getSummary
-
getTitle
-
getText
-
getDetailsURL
-
getStatus
-
getConclusion
-
getActions
-
getAnnotations
-
start
public org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext stepContext) - Specified by:
start
in classorg.jenkinsci.plugins.workflow.steps.Step
-