This Pipelines Task to upload a file to an AWS S3 bucket.
Prerequisites
This task requires an AWS Keys Integration.
Usage
Basic:
- task: jfrog/upload-file-to-s3@v0.1.0 input: sourceFilePath: "/resource/sample.txt" targetBucketName: "my_target_bucket_name" awsIntegration: "int_aws"
Input Variables
Name | Required | Description |
---|---|---|
sourceFilePath | true | Path to the file that will be uploaded. |
targetBucketName | true | Target s3 bucket. It will be created if it does not exist. |
awsIntegration | true | AWS integration name used for uploading the file to s3. |
Output Variables
None
Exported Environment Variables
None
How does it work?
This task uses the AWS SDK for Javascript to upload the file to a S3 bucket.
License
This project is licensed under Apache 2.0 license.