Class JenkinsActionProps
Construction properties of {@link JenkinsAction}.
Inheritance
Namespace: Amazon.CDK.AWS.CodePipeline.Actions
Assembly: Amazon.CDK.AWS.CodePipeline.Actions.dll
Syntax (csharp)
public class JenkinsActionProps : Object, IJenkinsActionProps, ICommonActionProps
Syntax (vb)
Public Class JenkinsActionProps
Inherits Object
Implements IJenkinsActionProps, ICommonActionProps
Remarks
ExampleMetadata: infused
Examples
JenkinsProvider jenkinsProvider;
var buildAction = new JenkinsAction(new JenkinsActionProps {
ActionName = "JenkinsBuild",
JenkinsProvider = jenkinsProvider,
ProjectName = "MyProject",
Type = JenkinsActionType.BUILD
});
Synopsis
Constructors
JenkinsActionProps() |
Properties
ActionName | The physical, human-readable name of the Action. |
Inputs | The source to use as input for this build. |
JenkinsProvider | The Jenkins Provider for this Action. |
Outputs | |
ProjectName | The name of the project (sometimes also called job, or task) on your Jenkins installation that will be invoked by this Action. |
RunOrder | The runOrder property for this Action. |
Type | The type of the Action - Build, or Test. |
VariablesNamespace | The name of the namespace to use for variables emitted by this action. |
Constructors
JenkinsActionProps()
public JenkinsActionProps()
Properties
ActionName
The physical, human-readable name of the Action.
public string ActionName { get; set; }
Property Value
System.String
Remarks
Note that Action names must be unique within a single Stage.
Inputs
The source to use as input for this build.
public Artifact_[] Inputs { get; set; }
Property Value
JenkinsProvider
The Jenkins Provider for this Action.
public IJenkinsProvider JenkinsProvider { get; set; }
Property Value
Outputs
ProjectName
The name of the project (sometimes also called job, or task) on your Jenkins installation that will be invoked by this Action.
public string ProjectName { get; set; }
Property Value
System.String
Examples
"MyJob";
RunOrder
The runOrder property for this Action.
public Nullable<double> RunOrder { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
RunOrder determines the relative order in which multiple Actions in the same Stage execute.
Default: 1
See: https://docs.aws.amazon.com/codepipeline/latest/userguide/reference-pipeline-structure.html
Type
The type of the Action - Build, or Test.
public JenkinsActionType Type { get; set; }
Property Value
VariablesNamespace
The name of the namespace to use for variables emitted by this action.
public string VariablesNamespace { get; set; }
Property Value
System.String
Remarks
Default: - a name will be generated, based on the stage and action names, if any of the action's variables were referenced - otherwise, no namespace will be set