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
- Author:
- Kohsuke Kawaguchi
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherList
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final com.google.common.collect.ImmutableSet<Result>
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
Constructor Summary
ConstructorDescriptionParallelTestExecutor
(Parallelism parallelism, String testJob, String patternFile, String testReportFiles, boolean archiveTestResults, List<hudson.plugins.parameterizedtrigger.AbstractBuildParameters> parameters) -
Method Summary
Modifier and TypeMethodDescriptionList<hudson.plugins.parameterizedtrigger.AbstractBuildParameters>
boolean
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 Details
-
NUMBER_OF_BUILDS_TO_SEARCH
public static final int NUMBER_OF_BUILDS_TO_SEARCH- See Also:
-
RESULTS_OF_BUILDS_TO_CONSIDER
-
-
Constructor Details
-
ParallelTestExecutor
@DataBoundConstructor public ParallelTestExecutor(Parallelism parallelism, String testJob, String patternFile, String testReportFiles, boolean archiveTestResults, List<hudson.plugins.parameterizedtrigger.AbstractBuildParameters> parameters)
-
-
Method Details
-
getParallelism
-
getTestJob
-
getPatternFile
-
getIncludesPatternFile
-
setIncludesPatternFile
-
getTestReportFiles
-
isArchiveTestResults
public boolean isArchiveTestResults() -
getTestMode
-
setTestMode
-
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
-