Interface JenkinsProviderProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
JenkinsProviderProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:48.456Z") @Stability(Stable) public interface JenkinsProviderProps extends software.amazon.jsii.JsiiSerializable
Example:

 JenkinsProvider jenkinsProvider = JenkinsProvider.Builder.create(this, "JenkinsProvider")
         .providerName("MyJenkinsProvider")
         .serverUrl("http://my-jenkins.com:8080")
         .version("2")
         .build();
 
  • Method Details

    • getProviderName

      @Stability(Stable) @NotNull String getProviderName()
      The name of the Jenkins provider that you set in the AWS CodePipeline plugin configuration of your Jenkins project.

      Example:

       "MyJenkinsProvider";
       
    • getServerUrl

      @Stability(Stable) @NotNull String getServerUrl()
      The base URL of your Jenkins server.

      Example:

       "http://myjenkins.com:8080";
       
    • getForBuild

      @Stability(Stable) @Nullable default Boolean getForBuild()
      Whether to immediately register a Jenkins Provider for the build category.

      The Provider will always be registered if you create a JenkinsAction.

      Default: false

    • getForTest

      @Stability(Stable) @Nullable default Boolean getForTest()
      Whether to immediately register a Jenkins Provider for the test category.

      The Provider will always be registered if you create a JenkinsTestAction.

      Default: false

    • getVersion

      @Stability(Stable) @Nullable default String getVersion()
      The version of your provider.

      Default: '1'

    • builder

      @Stability(Stable) static JenkinsProviderProps.Builder builder()
      Returns:
      a JenkinsProviderProps.Builder of JenkinsProviderProps