Upload a file to S3 bucket in AWS
Enter the following in the build task:
Bucket Name - Name of S3 bucket. Example: MyS3Bucket
File(s) to upload - Path to file or folder. File Example: $(Build.SourcesDirectory)/examplefile1.txt Folder Example: $(Build.ArtifactsStagingDirectory)/ExampleFolder/
Name of S3 Object - Name and directory that the corresponding file will have in Amazon S3. Example: S3FolderName/examplefile1.$(Build.BuildID)-uploaded.txt Note: This field is not available for folder uploads, file and folder names will be the same as local.
Use $(Build.BuildID) in the name of the S3 object for versioning.