org.jenkinsci.plugins.discardbuild
クラス DiscardBuildPublisher
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.tasks.Recorder
org.jenkinsci.plugins.discardbuild.DiscardBuildPublisher
- すべての実装されたインタフェース:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.Publisher>, hudson.tasks.BuildStep
public class DiscardBuildPublisher
- extends hudson.tasks.Recorder
Builder that discards old build histories according to more detail configurations than the core function.
This enables discarding builds by build status or keeping older builds for every N builds / N days.
- 作成者:
- tamagawahiroko
| クラス hudson.tasks.Publisher から継承された入れ子のクラス/インタフェース |
hudson.tasks.Publisher.DescriptorExtensionListImpl |
| インタフェース hudson.ExtensionPoint から継承された入れ子のクラス/インタフェース |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| インタフェース hudson.tasks.BuildStep から継承された入れ子のクラス/インタフェース |
hudson.tasks.BuildStep.PublisherList |
| インタフェース hudson.tasks.BuildStep から継承されたフィールド |
BUILDERS, PUBLISHERS |
|
コンストラクタの概要 |
DiscardBuildPublisher(String daysToKeep,
String numToKeep,
boolean keepSuccess,
boolean keepUnstable,
boolean keepFailure,
boolean keepNotBuilt,
boolean keepAborted,
String intervalDaysToKeep,
String intervalNumToKeep,
boolean keepSuccessOld,
boolean keepUnstableOld,
boolean keepFailureOld,
boolean keepNotBuiltOld,
boolean keepAbortedOld)
|
| クラス hudson.tasks.Publisher から継承されたメソッド |
all, getProjectAction, needsToRunAfterFinalized, prebuild |
| クラス hudson.tasks.BuildStepCompatibilityLayer から継承されたメソッド |
getProjectAction, getProjectActions, perform, prebuild |
| クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| インタフェース hudson.tasks.BuildStep から継承されたメソッド |
getProjectAction, getProjectActions, prebuild |
DiscardBuildPublisher
@DataBoundConstructor
public DiscardBuildPublisher(String daysToKeep,
String numToKeep,
boolean keepSuccess,
boolean keepUnstable,
boolean keepFailure,
boolean keepNotBuilt,
boolean keepAborted,
String intervalDaysToKeep,
String intervalNumToKeep,
boolean keepSuccessOld,
boolean keepUnstableOld,
boolean keepFailureOld,
boolean keepNotBuiltOld,
boolean keepAbortedOld)
perform
public boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
- 定義:
- インタフェース
hudson.tasks.BuildStep 内の perform - オーバーライド:
- クラス
hudson.tasks.BuildStepCompatibilityLayer 内の perform
getDaysToKeep
public String getDaysToKeep()
getNumToKeep
public String getNumToKeep()
getIntervalDaysToKeep
public String getIntervalDaysToKeep()
getIntervalNumToKeep
public String getIntervalNumToKeep()
isKeepSuccess
public boolean isKeepSuccess()
isKeepUnstable
public boolean isKeepUnstable()
isKeepFailure
public boolean isKeepFailure()
isKeepNotBuilt
public boolean isKeepNotBuilt()
isKeepAborted
public boolean isKeepAborted()
isKeepSuccessOld
public boolean isKeepSuccessOld()
isKeepUnstableOld
public boolean isKeepUnstableOld()
isKeepFailureOld
public boolean isKeepFailureOld()
isKeepNotBuiltOld
public boolean isKeepNotBuiltOld()
isKeepAbortedOld
public boolean isKeepAbortedOld()
getDescriptor
public DiscardBuildPublisher.DescriptorImpl getDescriptor()
- 定義:
- インタフェース
hudson.model.Describable<hudson.tasks.Publisher> 内の getDescriptor - オーバーライド:
- クラス
hudson.tasks.Recorder 内の getDescriptor
getRequiredMonitorService
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
getCurrentCalendar
protected Calendar getCurrentCalendar()
Copyright © 2004-2013. All Rights Reserved.