JenkinsProviderProps

class aws_cdk.aws_codepipeline_actions.JenkinsProviderProps(*, provider_name, server_url, for_build=None, for_test=None, version=None)

Bases: object

__init__(*, provider_name, server_url, for_build=None, for_test=None, version=None)
Parameters
  • provider_name (str) – The name of the Jenkins provider that you set in the AWS CodePipeline plugin configuration of your Jenkins project.

  • server_url (str) – The base URL of your Jenkins server.

  • for_build (Optional[bool]) – Whether to immediately register a Jenkins Provider for the build category. The Provider will always be registered if you create a {@link JenkinsAction}. Default: false

  • for_test (Optional[bool]) – Whether to immediately register a Jenkins Provider for the test category. The Provider will always be registered if you create a {@link JenkinsTestAction}. Default: false

  • version (Optional[str]) – The version of your provider. Default: ‘1’

Attributes

for_build

Whether to immediately register a Jenkins Provider for the build category.

The Provider will always be registered if you create a {@link JenkinsAction}.

default :default: false

Return type

Optional[bool]

for_test

Whether to immediately register a Jenkins Provider for the test category.

The Provider will always be registered if you create a {@link JenkinsTestAction}.

default :default: false

Return type

Optional[bool]

provider_name

The name of the Jenkins provider that you set in the AWS CodePipeline plugin configuration of your Jenkins project.

Example:

# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
"MyJenkinsProvider"
Return type

str

server_url

The base URL of your Jenkins server.

Example:

# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
"http://myjenkins.com:8080"
Return type

str

version

The version of your provider.

default :default: ‘1’

Return type

Optional[str]