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 server URL. |
|
String |
Required only if |
The JFrog Artifactory token. |
|
String |
Required only if |
The JFrog Artifactory username. |
|
String |
Required only if |
The JFrog Artifactory password. |
|
String |
Yes |
The path of the file to be uploaded. |
|
String |
Yes |
The JFrog Artifactory destination path for the upload. |
|
Boolean |
No |
Enable to send artifact information to the Cloudbees Platform for artifact traceability purposes. Default value is |
|
String |
No |
The name of the artifact to send to the Cloudbees Platform for artifact traceability purposes. |
|
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 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"