public class ParallelTestExecutor
extends hudson.tasks.Builder
| Modifier and Type | Class and Description |
|---|---|
static class |
ParallelTestExecutor.DescriptorImpl |
| Modifier and Type | Field and Description |
|---|---|
static int |
NUMBER_OF_BUILDS_TO_SEARCH |
static com.google.common.collect.ImmutableSet<hudson.model.Result> |
RESULTS_OF_BUILDS_TO_CONSIDER |
| Constructor and Description |
|---|
ParallelTestExecutor(Parallelism parallelism,
String testJob,
String patternFile,
String testReportFiles,
boolean archiveTestResults,
List<hudson.plugins.parameterizedtrigger.AbstractBuildParameters> parameters,
boolean estimateTestsFromFiles) |
| Modifier and Type | Method and Description |
|---|---|
static Map<String,TestClass> |
findTestResultsInDirectory(hudson.model.Run<?,?> build,
hudson.model.TaskListener listener,
hudson.FilePath workspace) |
String |
getIncludesPatternFile() |
Parallelism |
getParallelism() |
List<hudson.plugins.parameterizedtrigger.AbstractBuildParameters> |
getParameters() |
String |
getPatternFile() |
String |
getTestJob() |
String |
getTestReportFiles() |
boolean |
isArchiveTestResults() |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
void |
setIncludesPatternFile(String includesPatternFile) |
all, getDescriptor, getRequiredMonitorService, prebuildpublic static final int NUMBER_OF_BUILDS_TO_SEARCH
public static final com.google.common.collect.ImmutableSet<hudson.model.Result> RESULTS_OF_BUILDS_TO_CONSIDER
@DataBoundConstructor public ParallelTestExecutor(Parallelism parallelism, String testJob, String patternFile, String testReportFiles, boolean archiveTestResults, List<hudson.plugins.parameterizedtrigger.AbstractBuildParameters> parameters, boolean estimateTestsFromFiles)
public Parallelism getParallelism()
public String getTestJob()
public String getPatternFile()
@CheckForNull public String getIncludesPatternFile()
@DataBoundSetter public void setIncludesPatternFile(String includesPatternFile)
public String getTestReportFiles()
public boolean isArchiveTestResults()
public List<hudson.plugins.parameterizedtrigger.AbstractBuildParameters> getParameters()
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 static Map<String,TestClass> findTestResultsInDirectory(hudson.model.Run<?,?> build, hudson.model.TaskListener listener, @CheckForNull hudson.FilePath workspace)
Copyright © 2016–2018. All rights reserved.