aws-cdk-lib.aws_codepipeline_actions.JenkinsProviderAttributes

interface JenkinsProviderAttributes

LanguageType name
.NETAmazon.CDK.AWS.CodePipeline.Actions.JenkinsProviderAttributes
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscodepipelineactions#JenkinsProviderAttributes
Javasoftware.amazon.awscdk.services.codepipeline.actions.JenkinsProviderAttributes
Pythonaws_cdk.aws_codepipeline_actions.JenkinsProviderAttributes
TypeScript (source)aws-cdk-lib » aws_codepipeline_actions » JenkinsProviderAttributes

Properties for importing an existing Jenkins provider.

Example

const jenkinsProvider = codepipeline_actions.JenkinsProvider.fromJenkinsProviderAttributes(this, 'JenkinsProvider', {
  providerName: 'MyJenkinsProvider',
  serverUrl: 'http://my-jenkins.com:8080',
  version: '2', // optional, default: '1'
});

Properties

NameTypeDescription
providerNamestringThe name of the Jenkins provider that you set in the AWS CodePipeline plugin configuration of your Jenkins project.
serverUrlstringThe base URL of your Jenkins server.
version?stringThe version of your provider.

providerName

Type: string

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

'MyJenkinsProvider'

serverUrl

Type: string

The base URL of your Jenkins server. Example

'http://myjenkins.com:8080'

version?

Type: string (optional, default: '1')

The version of your provider.