JenkinsProviderAttributes

class aws_cdk.aws_codepipeline_actions.JenkinsProviderAttributes(*, provider_name, server_url, version=None)

Bases: object

Properties for importing an existing Jenkins provider.

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.

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

ExampleMetadata

infused

Example:

jenkins_provider = codepipeline_actions.JenkinsProvider.from_jenkins_provider_attributes(self, "JenkinsProvider",
    provider_name="MyJenkinsProvider",
    server_url="http://my-jenkins.com:8080",
    version="2"
)

Attributes

provider_name

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

Example:

"MyJenkinsProvider"
Return type

str

server_url

The base URL of your Jenkins server.

Example:

"http://myjenkins.com:8080"
Return type

str

version

The version of your provider.

Default

‘1’

Return type

Optional[str]