capabilities.work

Promote Artifact Across Repositories

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

Recipe · 2 steps

Promote Artifact Across Repositories

Copy an artifact between repositories and verify it at the destination.

  1. Copy the artifact from the source location to the destination repository path, leaving the original in place.
  2. Read the storage info at the destination path to confirm the artifact was copied successfully.
What you'll need to have ready
  • accessToken: Bearer access token for authenticating with Artifactory.
  • srcRepoKey: Source repository key to copy the artifact from.
  • srcItemPath: Source artifact path within the source repository.
  • destRepoKey: Destination repository key to copy the artifact to.
  • destItemPath: Destination artifact path within the destination repository.
For your developer

Arazzo workflow artifactory:promote-artifact-across-repositories, 2 operations: copyArtifact → getStorageInfo. Specs on APIs.io.