public class DefaultMatrixExecutionStrategyImpl extends MatrixExecutionStrategy
MatrixExecutionStrategy
that captures historical behavior.
This class is somewhat complex because historically this wasn't an extension point and so people tried to put various logics that cover different use cases into one place. Going forward, people are encouraged to create subtypes to implement a custom logic that suits their needs.
Modifier and Type | Class and Description |
---|---|
static class |
DefaultMatrixExecutionStrategyImpl.DescriptorImpl |
ExtensionPoint.LegacyInstancesAreScopedToHudson
Constructor and Description |
---|
DefaultMatrixExecutionStrategyImpl() |
DefaultMatrixExecutionStrategyImpl(Boolean runSequentially,
boolean hasTouchStoneCombinationFilter,
String touchStoneCombinationFilter,
Result touchStoneResultCondition,
MatrixConfigurationSorter sorter) |
DefaultMatrixExecutionStrategyImpl(boolean runSequentially,
String touchStoneCombinationFilter,
Result touchStoneResultCondition,
MatrixConfigurationSorter sorter) |
Modifier and Type | Method and Description |
---|---|
boolean |
getHasTouchStoneCombinationFilter() |
MatrixConfigurationSorter |
getSorter() |
String |
getTouchStoneCombinationFilter() |
Result |
getTouchStoneResultCondition() |
boolean |
isRunSequentially()
If true,
MatrixRun s are run sequentially, instead of running in parallel. |
Result |
run(MatrixBuild.MatrixBuildExecution execution) |
void |
setRunSequentially(boolean runSequentially) |
void |
setSorter(MatrixConfigurationSorter sorter) |
void |
setTouchStoneCombinationFilter(String touchStoneCombinationFilter) |
void |
setTouchStoneResultCondition(Result touchStoneResultCondition) |
getDescriptor, run
@DataBoundConstructor public DefaultMatrixExecutionStrategyImpl(Boolean runSequentially, boolean hasTouchStoneCombinationFilter, String touchStoneCombinationFilter, Result touchStoneResultCondition, MatrixConfigurationSorter sorter)
public DefaultMatrixExecutionStrategyImpl(boolean runSequentially, String touchStoneCombinationFilter, Result touchStoneResultCondition, MatrixConfigurationSorter sorter)
public DefaultMatrixExecutionStrategyImpl()
public boolean getHasTouchStoneCombinationFilter()
public boolean isRunSequentially()
MatrixRun
s are run sequentially, instead of running in parallel.
TODO: this should be subsumed by ResourceController
.public void setRunSequentially(boolean runSequentially)
public String getTouchStoneCombinationFilter()
public void setTouchStoneCombinationFilter(String touchStoneCombinationFilter)
public Result getTouchStoneResultCondition()
public void setTouchStoneResultCondition(Result touchStoneResultCondition)
public MatrixConfigurationSorter getSorter()
public void setSorter(MatrixConfigurationSorter sorter)
public Result run(MatrixBuild.MatrixBuildExecution execution) throws InterruptedException, IOException
run
in class MatrixExecutionStrategy
InterruptedException
IOException
Copyright © 2016–2022. All rights reserved.