Interface JenkinsActionProps

All Superinterfaces:
CommonActionProps, software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
JenkinsActionProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)", date="2024-09-24T10:56:29.335Z") @Stability(Stable) public interface JenkinsActionProps extends software.amazon.jsii.JsiiSerializable, CommonActionProps
Construction properties of JenkinsAction.

Example:

 JenkinsProvider jenkinsProvider;
 JenkinsAction buildAction = JenkinsAction.Builder.create()
         .actionName("JenkinsBuild")
         .jenkinsProvider(jenkinsProvider)
         .projectName("MyProject")
         .type(JenkinsActionType.BUILD)
         .build();
 
  • Method Details

    • getJenkinsProvider

      @Stability(Stable) @NotNull IJenkinsProvider getJenkinsProvider()
      The Jenkins Provider for this Action.
    • getProjectName

      @Stability(Stable) @NotNull String getProjectName()
      The name of the project (sometimes also called job, or task) on your Jenkins installation that will be invoked by this Action.

      Example:

       "MyJob";
       
    • getType

      @Stability(Stable) @NotNull JenkinsActionType getType()
      The type of the Action - Build, or Test.
    • getInputs

      @Stability(Stable) @Nullable default List<Artifact> getInputs()
      The source to use as input for this build.
    • getOutputs

      @Stability(Stable) @Nullable default List<Artifact> getOutputs()
    • builder

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