Class ParallelTestExecutor
- java.lang.Object
-
- hudson.tasks.BuildStepCompatibilityLayer
-
- hudson.tasks.Builder
-
- org.jenkinsci.plugins.parallel_test_executor.ParallelTestExecutor
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<Builder>
,BuildStep
public class ParallelTestExecutor extends Builder
- Author:
- Kohsuke Kawaguchi
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ParallelTestExecutor.DescriptorImpl
-
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherList
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
Fields Modifier and Type Field Description static int
NUMBER_OF_BUILDS_TO_SEARCH
static com.google.common.collect.ImmutableSet<Result>
RESULTS_OF_BUILDS_TO_CONSIDER
-
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
-
Constructor Summary
Constructors Constructor Description ParallelTestExecutor(Parallelism parallelism, String testJob, String patternFile, String testReportFiles, boolean archiveTestResults, List<hudson.plugins.parameterizedtrigger.AbstractBuildParameters> parameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getIncludesPatternFile()
Parallelism
getParallelism()
List<hudson.plugins.parameterizedtrigger.AbstractBuildParameters>
getParameters()
String
getPatternFile()
String
getTestJob()
TestMode
getTestMode()
String
getTestReportFiles()
boolean
isArchiveTestResults()
boolean
perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener)
void
setIncludesPatternFile(String includesPatternFile)
void
setTestMode(TestMode testMode)
-
Methods inherited from class hudson.tasks.Builder
all, getDescriptor, getRequiredMonitorService, prebuild
-
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectAction, getProjectActions, perform, prebuild
-
-
-
-
Field Detail
-
NUMBER_OF_BUILDS_TO_SEARCH
public static final int NUMBER_OF_BUILDS_TO_SEARCH
- See Also:
- Constant Field Values
-
RESULTS_OF_BUILDS_TO_CONSIDER
public static final com.google.common.collect.ImmutableSet<Result> RESULTS_OF_BUILDS_TO_CONSIDER
-
-
Constructor Detail
-
ParallelTestExecutor
@DataBoundConstructor public ParallelTestExecutor(Parallelism parallelism, String testJob, String patternFile, String testReportFiles, boolean archiveTestResults, List<hudson.plugins.parameterizedtrigger.AbstractBuildParameters> parameters)
-
-
Method Detail
-
getParallelism
public Parallelism getParallelism()
-
getTestJob
public String getTestJob()
-
getPatternFile
public String getPatternFile()
-
getIncludesPatternFile
@CheckForNull public String getIncludesPatternFile()
-
setIncludesPatternFile
@DataBoundSetter public void setIncludesPatternFile(String includesPatternFile)
-
getTestReportFiles
public String getTestReportFiles()
-
isArchiveTestResults
public boolean isArchiveTestResults()
-
getTestMode
public TestMode getTestMode()
-
setTestMode
@DataBoundSetter public void setTestMode(TestMode testMode)
-
getParameters
public List<hudson.plugins.parameterizedtrigger.AbstractBuildParameters> getParameters()
-
perform
public boolean perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException
- Specified by:
perform
in interfaceBuildStep
- Overrides:
perform
in classBuildStepCompatibilityLayer
- Throws:
InterruptedException
IOException
-
-