Package io.jenkins.plugins.explain_error
Class ExplainErrorJobProperty
java.lang.Object
hudson.model.JobProperty<Job<?,?>>
jenkins.model.OptionalJobProperty<Job<?,?>>
io.jenkins.plugins.explain_error.ExplainErrorJobProperty
- All Implemented Interfaces:
ExtensionPoint,Describable<JobProperty<?>>,ReconfigurableDescribable<JobProperty<?>>,BuildStep
Job property that overrides the global "Automatically explain failed builds" setting for one job,
so a noisy job can opt out while auto-explain is enabled, or a job can opt in while it is disabled.
Without this property the job follows the global setting.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class jenkins.model.OptionalJobProperty
OptionalJobProperty.OptionalJobPropertyDescriptorNested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherListNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from class hudson.model.JobProperty
ownerFields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether failed builds of this job are explained automatically.Methods inherited from class jenkins.model.OptionalJobProperty
getDescriptorMethods inherited from class hudson.model.JobProperty
getJobAction, getJobActions, getJobOverrides, getProjectAction, getProjectActions, getRequiredMonitorService, getSubTasks, perform, prebuild, reconfigure, reconfigure, setOwner
-
Constructor Details
-
ExplainErrorJobProperty
@DataBoundConstructor public ExplainErrorJobProperty(boolean autoExplainOnFailure)
-
-
Method Details
-
isAutoExplainOnFailure
public boolean isAutoExplainOnFailure()Returns whether failed builds of this job are explained automatically.
-