public class DiscardBuildPublisher
extends hudson.tasks.Recorder
| Modifier and Type | Class and Description |
|---|---|
static class |
DiscardBuildPublisher.DescriptorImpl
Descriptor for
DiscardBuildPublisher. |
hudson.tasks.Publisher.DescriptorExtensionListImpl| Constructor and Description |
|---|
DiscardBuildPublisher(String daysToKeep,
String intervalDaysToKeep,
String numToKeep,
String intervalNumToKeep,
boolean discardSuccess,
boolean discardUnstable,
boolean discardFailure,
boolean discardNotBuilt,
boolean discardAborted,
String minLogFileSize,
String maxLogFileSize,
String regexp) |
| Modifier and Type | Method and Description |
|---|---|
protected Calendar |
getCurrentCalendar() |
String |
getDaysToKeep() |
DiscardBuildPublisher.DescriptorImpl |
getDescriptor() |
String |
getIntervalDaysToKeep() |
String |
getIntervalNumToKeep() |
String |
getMaxLogFileSize() |
String |
getMinLogFileSize() |
String |
getNumToKeep() |
String |
getRegexp() |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
boolean |
isDiscardAborted() |
boolean |
isDiscardFailure() |
boolean |
isDiscardNotBuilt() |
boolean |
isDiscardSuccess() |
boolean |
isDiscardUnstable() |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
all, getProjectAction, needsToRunAfterFinalized, prebuildgetProjectAction, getProjectActions, perform, prebuild@DataBoundConstructor public DiscardBuildPublisher(String daysToKeep, String intervalDaysToKeep, String numToKeep, String intervalNumToKeep, boolean discardSuccess, boolean discardUnstable, boolean discardFailure, boolean discardNotBuilt, boolean discardAborted, String minLogFileSize, String maxLogFileSize, String regexp)
public boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
perform in interface hudson.tasks.BuildStepperform in class hudson.tasks.BuildStepCompatibilityLayerpublic String getDaysToKeep()
public String getNumToKeep()
public String getMinLogFileSize()
public String getMaxLogFileSize()
public String getIntervalDaysToKeep()
public String getRegexp()
public String getIntervalNumToKeep()
public boolean isDiscardSuccess()
public boolean isDiscardUnstable()
public boolean isDiscardFailure()
public boolean isDiscardNotBuilt()
public boolean isDiscardAborted()
public DiscardBuildPublisher.DescriptorImpl getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.Publisher>getDescriptor in class hudson.tasks.Recorderpublic hudson.tasks.BuildStepMonitor getRequiredMonitorService()
protected Calendar getCurrentCalendar()
Copyright © 2004-2013. All Rights Reserved.