JenkinsActionProps¶
-
class
aws_cdk.aws_codepipeline_actions.
JenkinsActionProps
(*, action_name, run_order=None, variables_namespace=None, jenkins_provider, project_name, type, inputs=None, outputs=None)¶ Bases:
aws_cdk.aws_codepipeline.CommonActionProps
Construction properties of {@link JenkinsAction}.
- Parameters
action_name (
str
) – The physical, human-readable name of the Action. Note that Action names must be unique within a single Stage.run_order (
Union
[int
,float
,None
]) – The runOrder property for this Action. RunOrder determines the relative order in which multiple Actions in the same Stage execute. Default: 1variables_namespace (
Optional
[str
]) – The name of the namespace to use for variables emitted by this action. 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 setjenkins_provider (
IJenkinsProvider
) – The Jenkins Provider for this Action.project_name (
str
) – The name of the project (sometimes also called job, or task) on your Jenkins installation that will be invoked by this Action.type (
JenkinsActionType
) – The type of the Action - Build, or Test.inputs (
Optional
[List
[Artifact
]]) – The source to use as input for this build.outputs (
Optional
[List
[Artifact
]]) –
Attributes
-
action_name
¶ The physical, human-readable name of the Action.
Note that Action names must be unique within a single Stage.
- Return type
str
-
jenkins_provider
¶ The Jenkins Provider for this Action.
- Return type
-
project_name
¶ The name of the project (sometimes also called job, or task) on your Jenkins installation that will be invoked by this Action.
Example:
# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826 "MyJob"
- Return type
str
-
run_order
¶ The runOrder property for this Action.
RunOrder determines the relative order in which multiple Actions in the same Stage execute.
- Default
1
- See
https://docs.aws.amazon.com/codepipeline/latest/userguide/reference-pipeline-structure.html
- Return type
Union
[int
,float
,None
]
-
type
¶ The type of the Action - Build, or Test.
- Return type
-
variables_namespace
¶ The name of the namespace to use for variables emitted by this action.
- 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
- Return type
Optional
[str
]