CloudBees action: Upload a file to JFrog Artifactory

1 minute read

Use this action to upload a file to the JFrog Artifactory repository manager.

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

Inputs

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

url

String

Yes

The JFrog Artifactory server URL.

token

String

Required only if username and password are not specified.

The JFrog Artifactory token.

username

String

Required only if token is not specified.

The JFrog Artifactory username.

password

String

Required only if token is not specified.

The JFrog Artifactory password.

file-path

String

Yes

The path of the file to be uploaded.

artifactory-path

String

Yes

The JFrog Artifactory destination path for the upload.

Usage example

In your YAML file, add:

- name: Upload file from JFrog Artifactory uses: cloudbees-io/jfrog-artifactory-upload-file@v1 with: url: ${{ JFROG_URL }} username: ${{ secrets.JFROG_USERNAME }} password: ${{ secrets.JFROG_PASSWORD }} token: '' file-path: "/local-path" artifactory-path: "test-image.tar"