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
Nested ClassesModifier and TypeClassDescriptionstatic classThis step's descriptor which defines function name, display name, and context.static classA simple wrapper forChecksActionto allow users add checks actions byPublishChecksStep.static classA simple wrapper forChecksAnnotationto allow users add code annotations byPublishChecksStep.Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()getText()getTitle()voidsetActions(List<PublishChecksStep.StepChecksAction> actions) voidsetAnnotations(List<PublishChecksStep.StepChecksAnnotation> annotations) voidsetConclusion(ChecksConclusion conclusion) voidsetDetailsURL(String detailsURL) voidvoidsetStatus(ChecksStatus status) Change the status of the check.voidsetSummary(String summary) voidvoidorg.jenkinsci.plugins.workflow.steps.StepExecutionstart(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 thestatusisChecksStatus.QUEUEDorChecksStatus.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:
startin classorg.jenkinsci.plugins.workflow.steps.Step
-