CloudBees action: Store an object on Amazon S3

1 minute read

Use this action to upload an object file to Amazon Simple Storage Service (Amazon S3). This action also reports artifact related data to the workflow run for artifact traceability purposes.

All CloudBees action repositories are listed at CloudBees, Inc. on GitHub.

Inputs

Table 1. Input details
Input name Data type Required? Description

bucket-name

String

Yes

The Amazon S3 bucket name.

file-path

String

Yes

The local file path of the directory to be uploaded.

s3-path

String

Yes

The Amazon S3 destination path for the upload.

artifactory-path

String

Yes

The JFrog Artifactory destination path for the upload.

send-artifact-info

String

No

Enable to send artifact information to the Cloudbees Platform for artifact traceability purposes.

artifact-name

String

No

The name of the artifact to send to the Cloudbees Platform for artifact traceability purposes.

artifact-version

String

No

The version of the artifact to send to the Cloudbees Platform for artifact traceability purposes.

Usage example

In your YAML file, add:

- name: Upload to Amazon S3 uses: cloudbees-io/s3-upload-object@v1 with: file-path: "/local-image.tar" bucket-name: "Amazon_S3_bucket_name" s3-path: "amazon-s3-image.tar"