To configure an Amazon S3 Object task:
Complete the following settings:
Common to all tasks
Actions supported by this task:
Most features offered by S3 are available by means of specifying additional Metadata fragments. |
Upload File(s) | ||
Artifact | Select the artifact you want to upload. | |
Source Local Path | Specify the local path (relative to the Bamboo working directory) to the files you want to upload. Use commas to separate files and directories. You can also use:
See How to use Ant regular expressions to rename files on S3 uploads for some renaming examples. | |
Upload as ZIP archive | Check to compress the selected file(s) into a single ZIP archive before uploading. Uncheck to upload separately. | |
Target Bucket Name | Specify the name of the S3 bucket where you want the files to be uploaded to. | |
Target Object Key Prefix (Virtual Directory) | (Optional) Specify the S3 object key prefix you want the uploaded files to gain in the target bucket. | |
Metadata Configuration | (Optional) Specify additional metadata in JSON format. Insert fragments from the inline Examples dialog to get started.
| |
Download Object(s) | ||
Source Bucket Name | Specify the name of the S3 bucket where you want the objects to be downloaded from. | |
Source Object Key Prefix | Specify the key prefix of the S3 objects you want to download from the source bucket. | |
Target Local Path | (Optional) Specify the local path (relative to the working directory) where the objects will be downloaded to. | |
Delete Object(s) | ||
Source Bucket Name | see Download above | |
Source Object Key Prefix | see Download above | |
Copy Object(s) | ||
Source Bucket Name | see Download above | |
Source Object Key Prefix | see Download above | |
Target Bucket Name | see Upload above | |
Target Object Key Prefix (Virtual Directory) | see Upload above | |
Metadata Configuration | see Upload above |
Creating resource variables for uploaded object 'prefix/taws-tst-object-4B.txt': ... bamboo.custom.aws.s3.object.first.BucketName: taws-tst-target-us-east-1 ... bamboo.custom.aws.s3.object.first.ETag: 1dafad37f6d9e169248bacb8485fd9cc ... bamboo.custom.aws.s3.object.first.ObjectKey: prefix/taws-tst-object-4B.txt ... bamboo.custom.aws.s3.object.first.VersionId: null |
N/A
N/A
Creating resource variables for copied object 'taws-tst-object-4B.a.txt': ... bamboo.custom.aws.s3.object.first.BucketName: taws-tst-target-us-east-1 ... bamboo.custom.aws.s3.object.first.ETag: 1dafad37f6d9e169248bacb8485fd9cc ... bamboo.custom.aws.s3.object.first.ObjectKey: taws-tst-object-4B.a.txt ... bamboo.custom.aws.s3.object.first.VersionId: null |