public class NaginatorPublisher
extends hudson.tasks.Notifier
| Modifier and Type | Class and Description |
|---|---|
static class |
NaginatorPublisher.DescriptorImpl
Descriptor for
NaginatorPublisher. |
hudson.tasks.Publisher.DescriptorExtensionListImpl| Modifier and Type | Field and Description |
|---|---|
static long |
DEFAULT_REGEXP_TIMEOUT_MS |
static NaginatorListener |
LISTENER |
| Constructor and Description |
|---|
NaginatorPublisher(String regexpForRerun,
boolean rerunIfUnstable,
boolean checkRegexp) |
NaginatorPublisher(String regexpForRerun,
boolean rerunIfUnstable,
boolean rerunMatrixPart,
boolean checkRegexp,
boolean regexpForMatrixParent,
int maxSchedule,
ScheduleDelay delay)
Deprecated.
use
NaginatorPublisher(String, boolean, boolean, boolean, int, ScheduleDelay) and other setters |
NaginatorPublisher(String regexpForRerun,
boolean rerunIfUnstable,
boolean rerunMatrixPart,
boolean checkRegexp,
int maxSchedule,
ScheduleDelay delay)
constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ScheduleDelay |
getDelay() |
NaginatorPublisher.DescriptorImpl |
getDescriptor() |
int |
getMaxSchedule() |
NoChildStrategy |
getNoChildStrategy() |
RegexpForMatrixStrategy |
getRegexpForMatrixStrategy() |
String |
getRegexpForRerun() |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
boolean |
isCheckRegexp() |
boolean |
isRegexpForMatrixParent()
Deprecated.
|
boolean |
isRerunIfUnstable() |
boolean |
isRerunMatrixPart() |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
Object |
readResolve() |
void |
setNoChildStrategy(NoChildStrategy noChildStrategy) |
void |
setRegexpForMatrixStrategy(RegexpForMatrixStrategy regexpForMatrixStrategy) |
all, getProjectAction, needsToRunAfterFinalized, prebuildpublic static final long DEFAULT_REGEXP_TIMEOUT_MS
@Extension public static final NaginatorListener LISTENER
public NaginatorPublisher(String regexpForRerun, boolean rerunIfUnstable, boolean checkRegexp)
@DataBoundConstructor public NaginatorPublisher(String regexpForRerun, boolean rerunIfUnstable, boolean rerunMatrixPart, boolean checkRegexp, int maxSchedule, ScheduleDelay delay)
@Deprecated public NaginatorPublisher(String regexpForRerun, boolean rerunIfUnstable, boolean rerunMatrixPart, boolean checkRegexp, boolean regexpForMatrixParent, int maxSchedule, ScheduleDelay delay)
NaginatorPublisher(String, boolean, boolean, boolean, int, ScheduleDelay) and other setterspublic Object readResolve()
public boolean isRerunIfUnstable()
public boolean isRerunMatrixPart()
@DataBoundSetter public void setNoChildStrategy(@Nonnull NoChildStrategy noChildStrategy)
noChildStrategy - @Nonnull public NoChildStrategy getNoChildStrategy()
public boolean isCheckRegexp()
@Deprecated public boolean isRegexpForMatrixParent()
getRegexpForMatrixStrategy()false for naginator-plugin >= 1.16
though true for configurations upgraded from naginator-plugin < 1.16.public String getRegexpForRerun()
@DataBoundSetter public void setRegexpForMatrixStrategy(@Nonnull RegexpForMatrixStrategy regexpForMatrixStrategy)
regexpForMatrixStrategy - @Nonnull public RegexpForMatrixStrategy getRegexpForMatrixStrategy()
public ScheduleDelay getDelay()
public int getMaxSchedule()
public boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws InterruptedException,
IOException
perform in interface hudson.tasks.BuildStepperform in class hudson.tasks.BuildStepCompatibilityLayerInterruptedExceptionIOExceptionpublic hudson.tasks.BuildStepMonitor getRequiredMonitorService()
public NaginatorPublisher.DescriptorImpl getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.Publisher>getDescriptor in class hudson.tasks.NotifierCopyright © 2016–2019. All rights reserved.