public class ClifPublisher
extends hudson.tasks.Recorder
An extension point to execute a post build report generation for Clif result.
It defines ClifProjectAction
as Project Action and
ClifBuildAction
as an action for each build.
This publisher is not executed when the build status is ABORTED or FAILURE.
Modifier and Type | Class and Description |
---|---|
static class |
ClifPublisher.DescriptorImpl |
hudson.tasks.Publisher.DescriptorExtensionListImpl
Modifier and Type | Field and Description |
---|---|
static ClifPublisher.DescriptorImpl |
DESCRIPTOR
Descriptor should be singleton.
|
Constructor and Description |
---|
ClifPublisher(String clifReportDirectory) |
ClifPublisher(String clifReportDirectory,
boolean dateFiltering,
String minTimestamp,
String maxTimestamp,
int chartWidth,
int chartHeight,
int distributionSliceSize,
int distributionSliceNumber,
int statisticalPeriod) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canContinue(hudson.model.Result result)
Clif publisher doesn't need to continue if the build's status is ABORTED or FAILURE.
|
List<ClifAlias> |
getAlias() |
int |
getChartHeight() |
int |
getChartWidth() |
String |
getClifReportDirectory() |
ClifDataCleanup |
getDataCleanupConfig() |
boolean |
getDateFiltering() |
ClifPublisher.DescriptorImpl |
getDescriptor() |
int |
getDistributionSliceNumber() |
int |
getDistributionSliceSize() |
protected static double |
getDouble(String value) |
protected static long |
getLong(String value) |
String |
getMaxTimestamp() |
String |
getMinTimestamp() |
hudson.model.Action |
getProjectAction(hudson.model.AbstractProject<?,?> project) |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
int |
getStatisticalPeriod() |
List<ClifResultConfig> |
getSuccessPatterns() |
boolean |
isDateFiltering() |
protected static boolean |
isDouble(String value) |
protected static boolean |
isLong(String value) |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
all, getProjectAction, needsToRunAfterFinalized, prebuild
@Extension public static final ClifPublisher.DescriptorImpl DESCRIPTOR
public ClifPublisher(String clifReportDirectory)
public boolean perform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener) throws InterruptedException, IOException
perform
in interface hudson.tasks.BuildStep
perform
in class hudson.tasks.BuildStepCompatibilityLayer
InterruptedException
IOException
public hudson.model.Action getProjectAction(hudson.model.AbstractProject<?,?> project)
getProjectAction
in interface hudson.tasks.BuildStep
getProjectAction
in class hudson.tasks.BuildStepCompatibilityLayer
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
protected boolean canContinue(hudson.model.Result result)
result
- build status objectpublic ClifPublisher.DescriptorImpl getDescriptor()
getDescriptor
in interface hudson.model.Describable<hudson.tasks.Publisher>
getDescriptor
in class hudson.tasks.Recorder
protected static boolean isLong(String value)
protected static long getLong(String value)
protected static boolean isDouble(String value)
protected static double getDouble(String value)
public boolean getDateFiltering()
public String getMinTimestamp()
public String getMaxTimestamp()
public String getClifReportDirectory()
public List<ClifResultConfig> getSuccessPatterns()
public ClifDataCleanup getDataCleanupConfig()
public int getChartWidth()
public int getChartHeight()
public int getDistributionSliceNumber()
public int getDistributionSliceSize()
public boolean isDateFiltering()
public int getStatisticalPeriod()
Copyright © 2016–2017 CLIF project. All rights reserved.