JenkinsActionType

class aws_cdk.aws_codepipeline_actions.JenkinsActionType(value)

Bases: enum.Enum

The type of the Jenkins Action that determines its CodePipeline Category - Build, or Test.

Note that a Jenkins provider, even if it has the same name, must be separately registered for each type.

ExampleMetadata

infused

Example:

# jenkins_provider: codepipeline_actions.JenkinsProvider

build_action = codepipeline_actions.JenkinsAction(
    action_name="JenkinsBuild",
    jenkins_provider=jenkins_provider,
    project_name="MyProject",
    type=codepipeline_actions.JenkinsActionType.BUILD
)

Attributes

BUILD

The Action will have the Build Category.

TEST

The Action will have the Test Category.