capabilities.work

Promote Artifact by Checksum

A 3-step recipe with JFrog. We can help you get access.

Recipe · 3 steps

Promote Artifact by Checksum

with JFrog

Locate an artifact by checksum and copy it to a release repository.

  1. Search for the artifact by its SHA256 checksum to confirm it exists before promoting it.
  2. Copy the located artifact from the source repository path to the target release repository path.
  3. Confirm the artifact now exists at the target path by reading its storage info.
What you'll need to have ready
  • sha256: The SHA256 checksum to locate the artifact by.
  • srcRepoKey: The source repository key of the artifact.
  • srcItemPath: The source item path of the artifact.
  • targetRepoKey: The target repository key to promote into.
  • targetItemPath: The target item path for the promoted artifact.
For your developer

Arazzo workflow jfrog:promote-artifact-by-checksum, 3 operations: searchByChecksum → copyArtifact → getStorageInfo. Specs on APIs.io.