# JenkinsActionProps

Construction properties of `JenkinsAction`.

Extends: JenkinsActionProps
Extends: CommonActionProps
Used as props by: JenkinsAction

- Source: [`aws-codepipeline-actions/lib/jenkins/jenkins-action.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-codepipeline-actions/lib/jenkins/jenkins-action.ts#L28)

## Example

```ts
declare const jenkinsProvider: codepipeline_actions.JenkinsProvider;
const buildAction = new codepipeline_actions.JenkinsAction({
  actionName: 'JenkinsBuild',
  jenkinsProvider: jenkinsProvider,
  projectName: 'MyProject',
  type: codepipeline_actions.JenkinsActionType.BUILD,
});
```

## Properties

- `actionName`: string (required) — The physical, human-readable name of the Action.

  Note that Action names must be unique within a single Stage.

- `inputs`: [Artifact](/cdk/api/v2/docs/aws-cdk-lib.aws_codepipeline.Artifact.html)[] — The source to use as input for this build.

- `jenkinsProvider`: [IJenkinsProvider](/cdk/api/v2/docs/aws-cdk-lib.aws_codepipeline_actions.IJenkinsProvider.html) (required) — The Jenkins Provider for this Action.

- `outputs`: [Artifact](/cdk/api/v2/docs/aws-cdk-lib.aws_codepipeline.Artifact.html)[]

- `projectName`: string (required) — The name of the project (sometimes also called job, or task) on your Jenkins installation that will be invoked by this Action.

  ```ts
  'MyJob'
  ```

- `runOrder`: number = 1 — The runOrder property for this Action.

  RunOrder determines the relative order in which multiple Actions in the same Stage execute.

- `type`: [JenkinsActionType](/cdk/api/v2/docs/aws-cdk-lib.aws_codepipeline_actions.JenkinsActionType.html) (required) — The type of the Action - Build, or Test.

- `variablesNamespace`: string — The name of the namespace to use for variables emitted by this action.

  **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
