CloudBees action: Download a file from JFrog Artifactory

1 minute read

Use this action to download a file from 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 destination path for the download.

artifactory-path

String

Yes

The JFrog Artifactory file path of the object to be downloaded.

Usage example

In your YAML file, add:

- name: Download file from JFrog Artifactory uses: cloudbees-io/jfrog-artifactory-download-file@v1 with: url: ${{ JFROG_URL }} token: ${{ secrets.JFROG_TOKEN }} file-path: "/local-path" artifactory-path: "test-image.tar"