@Stability(value=Stable) public static final class JenkinsAction.Builder extends Object implements software.amazon.jsii.Builder<JenkinsAction>
JenkinsAction.| Modifier and Type | Method and Description |
|---|---|
JenkinsAction.Builder |
actionName(String actionName)
The physical, human-readable name of the Action.
|
JenkinsAction |
build() |
static JenkinsAction.Builder |
create() |
JenkinsAction.Builder |
inputs(List<? extends Artifact> inputs)
The source to use as input for this build.
|
JenkinsAction.Builder |
jenkinsProvider(IJenkinsProvider jenkinsProvider)
The Jenkins Provider for this Action.
|
JenkinsAction.Builder |
outputs(List<? extends Artifact> outputs) |
JenkinsAction.Builder |
projectName(String projectName)
The name of the project (sometimes also called job, or task) on your Jenkins installation that will be invoked by this Action.
|
JenkinsAction.Builder |
runOrder(Number runOrder)
The runOrder property for this Action.
|
JenkinsAction.Builder |
type(JenkinsActionType type)
The type of the Action - Build, or Test.
|
JenkinsAction.Builder |
variablesNamespace(String variablesNamespace)
The name of the namespace to use for variables emitted by this action.
|
@Stability(value=Stable) public static JenkinsAction.Builder create()
JenkinsAction.Builder.@Stability(value=Stable) public JenkinsAction.Builder actionName(String actionName)
Note that Action names must be unique within a single Stage.
actionName - The physical, human-readable name of the Action. This parameter is required.this@Stability(value=Stable) public JenkinsAction.Builder runOrder(Number runOrder)
RunOrder determines the relative order in which multiple Actions in the same Stage execute.
Default: 1
runOrder - The runOrder property for this Action. This parameter is required.this@Stability(value=Stable) public JenkinsAction.Builder variablesNamespace(String variablesNamespace)
Default: - a name will be generated, based on the stage and action names, if any of the action's variables were referenced - otherwise, no namespace will be set
variablesNamespace - The name of the namespace to use for variables emitted by this action. This parameter is required.this@Stability(value=Stable) public JenkinsAction.Builder jenkinsProvider(IJenkinsProvider jenkinsProvider)
jenkinsProvider - The Jenkins Provider for this Action. This parameter is required.this@Stability(value=Stable) public JenkinsAction.Builder projectName(String projectName)
Example:
// Example automatically generated from non-compiling source. May contain errors. "MyJob";
projectName - The name of the project (sometimes also called job, or task) on your Jenkins installation that will be invoked by this Action. This parameter is required.this@Stability(value=Stable) public JenkinsAction.Builder type(JenkinsActionType type)
type - The type of the Action - Build, or Test. This parameter is required.this@Stability(value=Stable) public JenkinsAction.Builder inputs(List<? extends Artifact> inputs)
inputs - The source to use as input for this build. This parameter is required.this@Stability(value=Stable) public JenkinsAction.Builder outputs(List<? extends Artifact> outputs)
outputs - This parameter is required.this@Stability(value=Stable) public JenkinsAction build()
build in interface software.amazon.jsii.Builder<JenkinsAction>Copyright © 2022. All rights reserved.