Class TestResultsAggregator
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.tasks.Notifier
com.jenkins.testresultsaggregator.TestResultsAggregatorHelper
com.jenkins.testresultsaggregator.TestResultsAggregator
- All Implemented Interfaces:
ExtensionPoint
,Describable<Publisher>
,BuildStep
,SimpleBuildStep
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static class
static enum
static enum
Nested classes/interfaces inherited from class hudson.tasks.Publisher
Publisher.DescriptorExtensionListImpl
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherList
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
Nested classes/interfaces inherited from interface jenkins.tasks.SimpleBuildStep
SimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactory
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
Constructor Summary
ConstructorDescriptionTestResultsAggregator
(String subject, String recipientsList, String recipientsListCC, String recipientsListBCC, String recipientsListIgnored, String outOfDateResults, List<Data> data, List<DataPipeline> jobs, String beforebody, String afterbody, String theme, String sortresults, String columns, Boolean compareWithPreviousRun, Boolean ignoreNotFoundJobs, Boolean ignoreDisabledJobs, Boolean ignoreAbortedJobs, Boolean ignoreRunningJobs, String influxdbUrl, String influxdbToken, String influxdbBucket, String influxdbOrg) -
Method Summary
Modifier and TypeMethodDescriptionboolean
getData()
getJobs()
getTheme()
boolean
boolean
boolean
boolean
boolean
perform
(AbstractBuild build, Launcher launcher, BuildListener listener) void
void
setAfterbody
(String afterbody) void
setBeforebody
(String beforebody) void
setColumns
(String columns) void
setCompareWithPreviousRun
(Boolean compareWithPreviousRun) void
void
setIgnoreAbortedJobs
(Boolean ignoreAbortedJobs) void
setIgnoreDisabledJobs
(Boolean ignoreDisabledJobs) void
setIgnoreNotFoundJobs
(Boolean ignoreNotFoundJobs) void
setIgnoreRunningJobs
(Boolean ignoreRunningJobs) void
setInfluxdbBucket
(String influxdbBucket) void
setInfluxdbOrg
(String influxdbOrg) void
setInfluxdbToken
(String influxdbToken) void
setInfluxdbUrl
(String influxdbUrl) void
setJobs
(List<DataPipeline> pipelineJobs) void
setOutOfDateResults
(String outOfDateResults) void
setRecipientsList
(String recipientsList) void
setRecipientsListBCC
(String recipientsListBCC) void
setRecipientsListCC
(String recipientsListCC) void
setRecipientsListIgnored
(String recipientsListIgnored) void
setSortresults
(String sortresults) void
setSubject
(String subject) void
Methods inherited from class com.jenkins.testresultsaggregator.TestResultsAggregatorHelper
calculateColumns, checkUserInputForInjection, evaluateInputData, getDescriptor, getPreviousData, previousSavedResults, resolveJenkinsUrl, resolveVariables, validateInputData
Methods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuild
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectActions, perform, prebuild
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface hudson.tasks.BuildStep
getProjectAction, getProjectActions, prebuild
Methods inherited from interface jenkins.tasks.SimpleBuildStep
perform, perform, requiresWorkspace
-
Field Details
-
subject
-
recipientsList
-
recipientsListCC
-
recipientsListBCC
-
recipientsListIgnored
-
beforebody
-
afterbody
-
theme
-
sortresults
-
outOfDateResults
-
compareWithPreviousRun
-
ignoreNotFoundJobs
-
ignoreDisabledJobs
-
ignoreAbortedJobs
-
ignoreRunningJobs
-
columns
-
data
-
jobs
-
influxdbUrl
-
influxdbToken
-
influxdbBucket
-
influxdbOrg
-
DISPLAY_NAME
- See Also:
-
GRAPH_NAME_JOBS
- See Also:
-
GRAPH_NAME_TESTS
- See Also:
-
URL
- See Also:
-
ICON_FILE_NAME
- See Also:
-
-
Constructor Details
-
TestResultsAggregator
@DataBoundConstructor public TestResultsAggregator(String subject, String recipientsList, String recipientsListCC, String recipientsListBCC, String recipientsListIgnored, String outOfDateResults, List<Data> data, List<DataPipeline> jobs, String beforebody, String afterbody, String theme, String sortresults, String columns, Boolean compareWithPreviousRun, Boolean ignoreNotFoundJobs, Boolean ignoreDisabledJobs, Boolean ignoreAbortedJobs, Boolean ignoreRunningJobs, String influxdbUrl, String influxdbToken, String influxdbBucket, String influxdbOrg)
-
-
Method Details
-
perform
public void perform(Run<?, ?> run, FilePath workspace, EnvVars env, Launcher launcher, TaskListener listener) - Specified by:
perform
in interfaceSimpleBuildStep
-
perform
- Specified by:
perform
in interfaceBuildStep
- Overrides:
perform
in classBuildStepCompatibilityLayer
-
getRequiredMonitorService
- Specified by:
getRequiredMonitorService
in interfaceBuildStep
-
setData
-
setRecipientsList
-
setRecipientsListCC
-
setRecipientsListBCC
-
setRecipientsListIgnored
-
setOutOfDateResults
-
setBeforebody
-
setAfterbody
-
setTheme
-
setSortresults
-
setSubject
-
setColumns
-
setCompareWithPreviousRun
-
setIgnoreNotFoundJobs
-
setIgnoreDisabledJobs
-
setIgnoreAbortedJobs
-
setIgnoreRunningJobs
-
getRecipientsList
-
getRecipientsListCc
-
getRecipientsListBcc
-
getRecipientsListIgnored
-
getOutOfDateResults
-
getData
-
getColumns
-
getSubject
-
getSortresults
-
getTheme
-
getBeforebody
-
getAfterbody
-
isCompareWithPreviousRun
-
compareWithPrevious
public boolean compareWithPrevious() -
isIgnoreNotFoundJobs
-
isIgnoreDisabledJobs
-
ignoreNotFoundJobs
public boolean ignoreNotFoundJobs() -
ignoreDisabledJobs
public boolean ignoreDisabledJobs() -
ignoreAbortedJobs
public boolean ignoreAbortedJobs() -
ignoreRunningJobs
public boolean ignoreRunningJobs() -
getJobs
-
setJobs
-
getDataFromDataPipeline
- Throws:
Exception
-
getInfluxdbUrl
-
setInfluxdbUrl
-
getInfluxdbToken
-
setInfluxdbToken
-
getInfluxdbBucket
-
setInfluxdbBucket
-
getInfluxdbOrg
-
setInfluxdbOrg
-