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.
  • Constructor Details

    • ExplainErrorStep

      @DataBoundConstructor public ExplainErrorStep()
  • Method Details

    • getLogPattern

      public String getLogPattern()
    • setLogPattern

      @DataBoundSetter public void setLogPattern(String logPattern)
    • getMaxLines

      public int getMaxLines()
    • setMaxLines

      @DataBoundSetter public void setMaxLines(int maxLines)
    • getLanguage

      public String getLanguage()
    • setLanguage

      @DataBoundSetter public void setLanguage(String language)
    • getCustomContext

      public String getCustomContext()
    • setCustomContext

      @DataBoundSetter public void setCustomContext(String customContext)
    • isCollectDownstreamLogs

      public boolean isCollectDownstreamLogs()
    • setCollectDownstreamLogs

      @DataBoundSetter public void setCollectDownstreamLogs(boolean collectDownstreamLogs)
    • getDownstreamJobPattern

      public String getDownstreamJobPattern()
    • setDownstreamJobPattern

      @DataBoundSetter public void setDownstreamJobPattern(String downstreamJobPattern)
    • isIncludeWorkspaceContext

      public boolean isIncludeWorkspaceContext()
    • setIncludeWorkspaceContext

      @DataBoundSetter public void setIncludeWorkspaceContext(boolean includeWorkspaceContext)
    • getWorkspaceContextPaths

      public String getWorkspaceContextPaths()
    • setWorkspaceContextPaths

      @DataBoundSetter public void setWorkspaceContextPaths(String workspaceContextPaths)
    • getWorkspaceContextMaxBytes

      public int getWorkspaceContextMaxBytes()
    • setWorkspaceContextMaxBytes

      @DataBoundSetter public void setWorkspaceContextMaxBytes(int workspaceContextMaxBytes)
    • isAutoFix

      public boolean isAutoFix()
    • setAutoFix

      @DataBoundSetter public void setAutoFix(boolean autoFix)
    • getAutoFixCredentialsId

      public String getAutoFixCredentialsId()
    • setAutoFixCredentialsId

      @DataBoundSetter public void setAutoFixCredentialsId(String autoFixCredentialsId)
    • getAutoFixRemoteUrl

      public String getAutoFixRemoteUrl()
    • setAutoFixRemoteUrl

      @DataBoundSetter public void setAutoFixRemoteUrl(String autoFixRemoteUrl)
    • getAutoFixScmType

      public String getAutoFixScmType()
    • setAutoFixScmType

      @DataBoundSetter public void setAutoFixScmType(String autoFixScmType)
    • getAutoFixGithubEnterpriseUrl

      public String getAutoFixGithubEnterpriseUrl()
    • setAutoFixGithubEnterpriseUrl

      @DataBoundSetter public void setAutoFixGithubEnterpriseUrl(String autoFixGithubEnterpriseUrl)
    • getAutoFixGitlabUrl

      public String getAutoFixGitlabUrl()
    • setAutoFixGitlabUrl

      @DataBoundSetter public void setAutoFixGitlabUrl(String autoFixGitlabUrl)
    • getAutoFixBitbucketUrl

      public String getAutoFixBitbucketUrl()
    • setAutoFixBitbucketUrl

      @DataBoundSetter public void setAutoFixBitbucketUrl(String autoFixBitbucketUrl)
    • getAutoFixAllowedPaths

      public String getAutoFixAllowedPaths()
    • setAutoFixAllowedPaths

      @DataBoundSetter public void setAutoFixAllowedPaths(String autoFixAllowedPaths)
    • isAutoFixDraftPr

      public boolean isAutoFixDraftPr()
    • setAutoFixDraftPr

      @DataBoundSetter public void setAutoFixDraftPr(boolean autoFixDraftPr)
    • getAutoFixTimeoutSeconds

      public int getAutoFixTimeoutSeconds()
    • setAutoFixTimeoutSeconds

      @DataBoundSetter public void setAutoFixTimeoutSeconds(int autoFixTimeoutSeconds)
    • getAutoFixPrTemplate

      public String getAutoFixPrTemplate()
    • setAutoFixPrTemplate

      @DataBoundSetter public void setAutoFixPrTemplate(String autoFixPrTemplate)
    • start

      public org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext context) throws Exception
      Specified by:
      start in class org.jenkinsci.plugins.workflow.steps.Step
      Throws:
      Exception