Package io.jenkins.plugins.explain_error
Class ExplainErrorStep
java.lang.Object
hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
org.jenkinsci.plugins.workflow.steps.Step
io.jenkins.plugins.explain_error.ExplainErrorStep
- All Implemented Interfaces:
ExtensionPoint,Describable<org.jenkinsci.plugins.workflow.steps.Step>
public class ExplainErrorStep
extends org.jenkinsci.plugins.workflow.steps.Step
Pipeline step to explain errors using AI.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintvoidsetLogPattern(String logPattern) voidsetMaxLines(int maxLines) org.jenkinsci.plugins.workflow.steps.StepExecutionstart(org.jenkinsci.plugins.workflow.steps.StepContext context) Methods inherited from class org.jenkinsci.plugins.workflow.steps.Step
getDescriptor
-
Constructor Details
-
ExplainErrorStep
@DataBoundConstructor public ExplainErrorStep()
-
-
Method Details
-
getLogPattern
-
setLogPattern
-
getMaxLines
public int getMaxLines() -
setMaxLines
@DataBoundSetter public void setMaxLines(int maxLines) -
start
public org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext context) throws Exception - Specified by:
startin classorg.jenkinsci.plugins.workflow.steps.Step- Throws:
Exception
-