The following plugin provides functionality available through Pipeline-compatible steps. Read more about how to integrate steps into your Pipeline in the Steps section of the Pipeline Syntax page.
For a list of other such plugins, see the Pipeline Steps Reference page.
awaitDeploymentCompletion: Wait for AWS CodeDeploy deployment completionawsIdentity: Print and return the AWS identitycfInvalidate: Invalidate given paths in CloudFront distributioncfnCreateChangeSet: Create CloudFormation change setcfnDelete: Delete CloudFormation stackcfnDeleteStackSet: Delete CloudFormation Stack SetcfnDescribe: Describe outputs of CloudFormation stackcfnExecuteChangeSet: Execute CloudFormation change setcfnExports: Describe CloudFormation global exportscfnUpdate: Create or Update CloudFormation stackcfnUpdateStackSet: Create or Update CloudFormation Stack SetcfnValidate: Validate CloudFormation templatecreateDeployment: Deploys an application revision through the specified deployment group (AWS CodeDeploy).deployAPI: Deploy the given API Gateway APIebCreateApplication: Creates a new Elastic Beanstalk applicationebCreateApplicationVersion: Creates a new version for an elastic beanstalk applicationebCreateConfigurationTemplate: Creates a new configuration template for an elastic beanstalk applicationebCreateEnvironment: Creates a new Elastic Beanstalk environmentebSwapEnvironmentCNAMEs: Swaps the CNAMEs of two elastic beanstalk environments.ebWaitOnEnvironmentHealth: Waits until the specified environment application becomes availableebWaitOnEnvironmentStatus: Waits until the specified environment becomes availableec2ShareAmi: Share an AMI with other accountsecrDeleteImage: Delete ecr imagesecrListImages: List ECR ImagesecrLogin: Create and return the ECR login stringecrSetRepositoryPolicy: Set ECR Repository PolicyelbDeregisterInstance: Deregisters the specified instances from the specified load balancer.elbIsInstanceDeregistered: Registers the specified instances from the specified load balancer.elbIsInstanceRegistered: Registers the specified instances from the specified load balancer.elbRegisterInstance: Registers the specified instances from the specified load balancer.invokeLambda: Invoke a given Lambda functionlambdaVersionCleanup: Cleanup old lambda versionslistAWSAccounts: List all AWS accounts of the organizations3Copy: Copy file between S3 bucketss3Delete: Delete file from S3s3DoesObjectExist: Check if object exists in S3s3Download: Copy file from S3s3FindFiles: Find files in S3s3PresignURL: Presign file in S3s3Upload: Copy file to S3setAccountAlias: Set the AWS account aliassnsPublish: Publish notification to SNSupdateIdP: Update thirdparty Identity ProviderupdateTrustPolicy: Update trust policy of IAM roleswithAWS: set AWS settings for nested blockcfInvalidate: Invalidate given paths in CloudFront distributiondistribution
Stringpaths
StringwaitForCompletion (optional)
booleancfnCreateChangeSet: Create CloudFormation change setchangeSet
Stringstack
Stringcreate (optional)
booleanfile (optional)
StringkeepParams (optional)
StringnotificationARNs (optional)
StringonFailure (optional)
Stringparams (optional)
ObjectparamsFile (optional)
StringpollInterval (optional)
longroleArn (optional)
StringrollbackTimeoutInMinutes (optional)
introllbackTriggers (optional)
Stringtags (optional)
StringtagsFile (optional)
Stringtemplate (optional)
StringtimeoutInMinutes (optional)
longtimeoutInSeconds (optional)
longurl (optional)
StringcfnDelete: Delete CloudFormation stackDelete Cloudformation Templates
stack
StringclientRequestToken (optional)
StringpollInterval (optional)
longretainResources (optional)
StringroleArn (optional)
StringtimeoutInMinutes (optional)
longcfnDeleteStackSet: Delete CloudFormation Stack SetstackSet
StringpollInterval (optional)
longcfnExecuteChangeSet: Execute CloudFormation change setchangeSet
Stringstack
StringpollInterval (optional)
longtimeoutInMinutes (optional)
longtimeoutInSeconds (optional)
longcfnUpdate: Create or Update CloudFormation stackstack
Stringcreate (optional)
booleanenableTerminationProtection (optional)
booleanfile (optional)
StringkeepParams (optional)
StringnotificationARNs (optional)
StringonFailure (optional)
Stringparams (optional)
ObjectparamsFile (optional)
StringpollInterval (optional)
longroleArn (optional)
StringrollbackTimeoutInMinutes (optional)
introllbackTriggers (optional)
Stringtags (optional)
StringtagsFile (optional)
Stringtemplate (optional)
StringtimeoutInMinutes (optional)
longtimeoutInSeconds (optional)
longurl (optional)
StringcfnUpdateStackSet: Create or Update CloudFormation Stack SetstackSet
StringadministratorRoleArn (optional)
StringbatchingOptions (optional)
regions
booleancreate (optional)
booleanexecutionRoleName (optional)
Stringfile (optional)
StringkeepParams (optional)
StringnotificationARNs (optional)
StringonFailure (optional)
StringoperationPreferences (optional)
failureToleranceCount (optional)
intfailureTolerancePercentage (optional)
intmaxConcurrentCount (optional)
intmaxConcurrentPercentage (optional)
intregionOrder (optional)
Stringparams (optional)
ObjectparamsFile (optional)
StringpollInterval (optional)
longrollbackTimeoutInMinutes (optional)
introllbackTriggers (optional)
Stringtags (optional)
StringtagsFile (optional)
Stringtemplate (optional)
StringtimeoutInMinutes (optional)
longtimeoutInSeconds (optional)
longurl (optional)
StringcfnValidate: Validate CloudFormation templatefile (optional)
Stringurl (optional)
StringcreateDeployment: Deploys an application revision through the specified deployment group (AWS CodeDeploy).applicationName (optional)
StringdeploymentConfigName (optional)
StringdeploymentGroupName (optional)
Stringdescription (optional)
StringfileExistsBehavior (optional)
StringgitHubCommitId (optional)
StringgitHubRepository (optional)
StringignoreApplicationStopFailures (optional)
booleans3Bucket (optional)
Strings3BundleType (optional)
Strings3Key (optional)
StringwaitForCompletion (optional)
booleandeployAPI: Deploy the given API Gateway APIapi
Stringstage
Stringdescription (optional)
Stringvariables (optional)
StringebCreateApplication: Creates a new Elastic Beanstalk applicationapplicationName
Stringdescription (optional)
StringebCreateApplicationVersion: Creates a new version for an elastic beanstalk applicationapplicationName
StringversionLabel
Strings3Bucket
Strings3Key
Stringdescription (optional)
StringebCreateConfigurationTemplate: Creates a new configuration template for an elastic beanstalk applicationapplicationName
StringtemplateName
Stringdescription (optional)
StringenvironmentId (optional)
StringsolutionStackName (optional)
StringsourceConfigurationApplication (optional)
StringsourceConfigurationTemplate (optional)
StringebCreateEnvironment: Creates a new Elastic Beanstalk environmentapplicationName
StringenvironmentName
Stringdescription (optional)
StringsolutionStackName (optional)
StringtemplateName (optional)
StringupdateOnExisting (optional)
booleanversionLabel (optional)
StringebSwapEnvironmentCNAMEs: Swaps the CNAMEs of two elastic beanstalk environments.destinationEnvironmentId (optional)
StringdestinationEnvironmentName (optional)
StringsourceEnvironmentId (optional)
StringsourceEnvironmentName (optional)
StringebWaitOnEnvironmentHealth: Waits until the specified environment application becomes availableapplicationName
StringenvironmentName
Stringhealth (optional)
StringstabilityThreshold (optional)
intebWaitOnEnvironmentStatus: Waits until the specified environment becomes availableapplicationName
StringenvironmentName
Stringstatus (optional)
Stringec2ShareAmi: Share an AMI with other accountsaccountIds (optional)
StringamiId (optional)
StringecrDeleteImage: Delete ecr imagesimageIds (optional)
imageDigest (optional)
StringimageTag (optional)
StringregistryId (optional)
StringrepositoryName (optional)
StringecrListImages: List ECR Imagesfilter (optional)
tagStatus (optional)
StringregistryId (optional)
StringrepositoryName (optional)
StringecrLogin: Create and return the ECR login stringemail (optional)
booleanregistryIds (optional)
StringecrSetRepositoryPolicy: Set ECR Repository PolicypolicyText (optional)
StringregistryId (optional)
StringrepositoryName (optional)
StringelbDeregisterInstance: Deregisters the specified instances from the specified load balancer.targetGroupARN (optional)
StringinstanceID (optional)
Stringport (optional)
intelbIsInstanceDeregistered: Registers the specified instances from the specified load balancer.targetGroupARN (optional)
StringinstanceID (optional)
Stringport (optional)
intelbIsInstanceRegistered: Registers the specified instances from the specified load balancer.targetGroupARN (optional)
StringinstanceID (optional)
Stringport (optional)
intelbRegisterInstance: Registers the specified instances from the specified load balancer.targetGroupARN (optional)
StringinstanceID (optional)
Stringport (optional)
intinvokeLambda: Invoke a given Lambda functionfunctionName
Stringpayload (optional)
ObjectpayloadAsString (optional)
StringreturnValueAsString (optional)
booleanlambdaVersionCleanup: Cleanup old lambda versionsdaysAgo
intfunctionName (optional)
StringstackName (optional)
Strings3Copy: Copy file between S3 bucketsCopy file between S3 buckets.
fromBucket
StringfromPath
StringtoBucket
StringtoPath
StringpathStyleAccessEnabled (optional)
booleanpayloadSigningEnabled (optional)
booleanacl (optional)
Canned ACL to add to the new file.
Private, PublicRead, PublicReadWrite, AuthenticatedRead, LogDeliveryWrite, BucketOwnerRead, BucketOwnerFullControl, AwsExecReadcacheControl (optional)
StringcontentDisposition (optional)
StringcontentType (optional)
StringkmsId (optional)
Stringmetadatas (optional)
StringsseAlgorithm (optional)
Strings3Delete: Delete file from S3Delete a file/folder from S3. If the path ends in a "/", then the path will be interpreted to be a folder, and all of its contents will be removed.
bucket
Stringpath
This is the path inside the bucket to delete. If this ends in a "/", then the path will be interpreted to be a folder, and all of its contents will be removed.
Do not begin with a leading "/".
StringpathStyleAccessEnabled (optional)
booleanpayloadSigningEnabled (optional)
booleans3DoesObjectExist: Check if object exists in S3Check if object exists in S3 bucket.
bucket
Stringpath
StringpathStyleAccessEnabled (optional)
booleanpayloadSigningEnabled (optional)
booleans3Download: Copy file from S3Download a file/folder from S3 to the local workspace. Set optional parameter force to true to overwrite any existing files in workspace. If the path ends with a /, then the complete virtual directory will be downloaded.
file
Stringbucket
StringpathStyleAccessEnabled (optional)
booleanpayloadSigningEnabled (optional)
booleanforce (optional)
booleanpath (optional)
Strings3FindFiles: Find files in S3Return a list of all of the files/folders in the bucket. If path is given, then it will be used as the root of the search. Results are returned relative to path; if path is not given, then the results will contain the full S3 path.
The following all ultimately return one item referring to "path/to/my/file.ext"; however, by limiting the scope via path, the results are different.
List every file in the bucket:
The return format is identical to that of the findFiles step. This will return an array of FileWrapper instances with the following properties:
bucket
StringpathStyleAccessEnabled (optional)
booleanpayloadSigningEnabled (optional)
booleanglob (optional)
This is the glob to use to match files/folders. You may use a full file name/path (for example "path/to/file.ext"), but you may also use a glob (for example, "path/t*/file.*").
If left blank, this will perform the equivalent function of "*".
To list absolutely everything, use "**".
StringonlyFiles (optional)
booleanpath (optional)
Strings3PresignURL: Presign file in S3bucket
Stringkey
StringhttpMethod
StringdurationInSeconds
intpathStyleAccessEnabled (optional)
booleanpayloadSigningEnabled (optional)
booleans3Upload: Copy file to S3Upload a file/folder from the workspace to an S3 bucket. If the file parameter denotes a directory, then the complete directory (including all subfolders) will be uploaded. If text is provided, upload the text as the provided filename in the remote S3 bucket.
bucket
StringpathStyleAccessEnabled (optional)
booleanpayloadSigningEnabled (optional)
booleanacl (optional)
Canned ACL to add to the upload request.
Private, PublicRead, PublicReadWrite, AuthenticatedRead, LogDeliveryWrite, BucketOwnerRead, BucketOwnerFullControl, AwsExecReadcacheControl (optional)
StringcontentDisposition (optional)
StringcontentEncoding (optional)
StringcontentType (optional)
StringexcludePathPattern (optional)
Stringfile (optional)
StringincludePathPattern (optional)
StringkmsId (optional)
Stringmetadatas (optional)
Stringpath (optional)
StringredirectLocation (optional)
StringsseAlgorithm (optional)
Stringtags (optional)
Stringtext (optional)
Stringverbose (optional)
booleanworkingDir (optional)
StringsetAccountAlias: Set the AWS account alias The setAccountAlias step set the given name as AWS account alias.
name
StringsnsPublish: Publish notification to SNStopicArn
Stringsubject
Stringmessage
StringmessageAttributes (optional)
java.util.Map<java.lang.String, java.lang.String>withAWS: set AWS settings for nested block The withAWS step provides authorization for the nested steps. You can provide region and profile information or let Jenkins assume a role in another or the same AWS account. You can mix all parameters in one withAWS block.
credentials (optional)
Stringduration (optional)
intendpointUrl (optional)
StringexternalId (optional)
StringfederatedUserId (optional)
StringiamMfaToken (optional)
Stringpolicy (optional)
StringprincipalArn (optional)
Stringprofile (optional)
Stringregion (optional)
Stringrole (optional)
StringroleAccount (optional)
StringroleSessionName (optional)
StringsamlAssertion (optional)
StringuseNode (optional)
booleanPlease submit your feedback about this page through this quick form.
Alternatively, if you don't wish to complete the quick form, you can simply indicate if you found this page helpful?
See existing feedback here.