JenkinsAction(*, jenkins_provider, project_name, type, inputs=None, outputs=None, action_name, run_order=None, variables_namespace=None)¶
Jenkins build CodePipeline Action.
IJenkinsProvider) – The Jenkins Provider for this Action.
str) – The name of the project (sometimes also called job, or task) on your Jenkins installation that will be invoked by this Action.
JenkinsActionType) – The type of the Action - Build, or Test.
Artifact]]) – The source to use as input for this build.
str) – The physical, human-readable name of the Action. Note that Action names must be unique within a single Stage.
None]) – The runOrder property for this Action. RunOrder determines the relative order in which multiple Actions in the same Stage execute. Default: 1
str]) – 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
bind(scope, stage, *, bucket, role)¶
(experimental) The callback invoked when this Action is added to a Pipeline.
on_state_change(name, target=None, *, description=None, enabled=None, event_bus=None, event_pattern=None, rule_name=None, schedule=None, targets=None)¶
(experimental) Creates an Event that will be triggered whenever the state of this Action changes.
str]) – A description of the rule’s purpose. Default: - No description.
bool]) – Indicates whether the rule is enabled. Default: true
IEventBus]) – The event bus to associate with this rule. Default: - The default event bus.
EventPattern]) – Describes which events EventBridge routes to the specified target. These routed events are matched events. For more information, see Events and Event Patterns in the Amazon EventBridge User Guide. Default: - None.
str]) – A name for the rule. Default: - AWS CloudFormation generates a unique physical ID and uses that ID for the rule name. For more information, see Name Type.
Schedule]) – The schedule or rate (frequency) that determines when EventBridge runs the rule. For more information, see Schedule Expression Syntax for Rules in the Amazon EventBridge User Guide. Default: - None.
IRuleTarget]]) – Targets to invoke when this rule matches an event. Input will be the full matched event. If you wish to specify custom target input, use
addTarget(target[, inputOptions]). Default: - No targets.
- Return type