public class DynamicAxis
extends hudson.matrix.Axis
| Modifier and Type | Class and Description |
|---|---|
static class |
DynamicAxis.DescriptorImpl
Descriptor for this plugin.
|
| Constructor and Description |
|---|
DynamicAxis(String name,
String varName)
Always construct from an axis name and environment variable name.
|
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getValues()
Overridden to provide a default value in the event the target environment
variable cannot be accessed or interpreted.
|
String |
getValueString()
Overridden to return our environment variable name.
|
String |
getVarName()
An accessor is required if referenced in the Jelly file.
|
List<String> |
rebuild(hudson.matrix.MatrixBuild.MatrixBuildExecution context)
Override the new rebuild() feature to dynamically evaluate the configured
environment variable name to get list of axis values to use for the
current build.
|
public String getVarName()
public List<String> getValues()
getValues in class hudson.matrix.AxisAxis.getValues()public String getValueString()
getValueString in class hudson.matrix.AxisAxis.getValueString()public List<String> rebuild(hudson.matrix.MatrixBuild.MatrixBuildExecution context)
rebuild in class hudson.matrix.AxisAxis.rebuild(hudson.matrix.MatrixBuild.MatrixBuildExecution)Copyright © 2004-2014. All Rights Reserved.