Use this action to upload a file to the JFrog Artifactory repository manager. 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
Input name | Data type | Required? | Description |
---|---|---|---|
|
String |
Yes |
The JFrog Artifactory destination path for the upload. |
|
String |
Yes |
The path of the file to be uploaded. |
|
String |
Yes |
The JFrog Artifactory server URL. |
|
String |
Required only if |
The JFrog Artifactory password. |
|
String |
Required only if |
The JFrog Artifactory token. |
|
String |
Required only if |
The JFrog Artifactory username. |
|
String |
No |
The name of the artifact to send to the CloudBees platform. Defaults to the filename if not provided. |
|
String |
No |
The version of the artifact to send to the CloudBees platform.
Defaults to |
|
Boolean |
No |
If |
Outputs
Output name | Data type | Description |
---|---|---|
|
String |
The unique identifier of the artifact reported to the CloudBees platform. |
Usage examples
Basic example
The following is a basic example of using the action:
- name: Upload file to JFrog Artifactory uses: cloudbees-io/jfrog-artifactory-upload-file@v1 with: artifactory-path: my-image.tar file-path: /local-path url: ${{ JFROG_URL }} token: ${{ secrets.JFROG_TOKEN }}