Artifactory

Verified against Flow 5.0.0-beta.39

View as Markdown

The Artifactory category has 2 tasks. Each entry shows the task's latest revision, the one the palette adds. See Reading an entry.

Artifactory File Download

Artifactory File Download

  • Slug: artifactory-file-download
  • Type: template
  • Revision: 2
  • Image: Default task image.

Parameters

Label Name Type Required Default Helper text
URL url Text Yes The artifact's full URL, e.g. https://acme.jfrog.io/artifactory/libs-release/com/acme/widget/1.0/widget-1.0.jar
Destination Path destinationPath Text Yes A workspace file or directory, absolute or relative to /workspace. A directory (or a path ending in /) keeps the artifact's name
Access Token accessToken Secured No A JFrog access token, sent as a Bearer token. Preferred over API Key and Username/Password
API Key apiKey Secured No An existing JFrog API key; JFrog no longer issues them, so prefer Access Token
Username username Text No With Password, when there is no Access Token
Password password Secured No With Username, when there is no Access Token

Results

Name Description
path The absolute path of the downloaded file
size The file's size in bytes
sha256 The file's SHA-256, checked against the checksum Artifactory sends

Artifactory File Upload

Upload file to Artifactory

  • Slug: artifactory-file-upload
  • Type: template
  • Revision: 3
  • Image: Default task image.

Parameters

Label Name Type Required Default Helper text
URL url Text Yes The artifact's full URL, e.g. https://acme.jfrog.io/artifactory/libs-release/com/acme/widget/1.0/widget-1.0.jar
File file Text Yes The workspace file to upload, absolute or relative to /workspace
Access Token accessToken Secured No A JFrog access token, sent as a Bearer token. Preferred over API Key and Username/Password
API Key apiKey Secured No An existing JFrog API key; JFrog no longer issues them, so prefer Access Token
Username username Text No With Password, when there is no Access Token
Password password Secured No With Username, when there is no Access Token

Results

Name Description
downloadUri The artifact's URL, as Artifactory reports it
sha256 The file's SHA-256, checked against the checksum Artifactory stored
size The file's size in bytes