JFrog Artifactory · Arazzo Workflow

Artifactory Promote Artifact Across Repositories

Version 1.0.0

Copy an artifact from a staging repository to a release repository and verify it.

1 workflow 1 source API 1 provider
View Spec View on GitHub ArtifactsDevOpsCI/CDdocker-registryMavenPackage ManagementRepositoryArazzoWorkflows

Provider

artifactory

Workflows

promote-artifact-across-repositories
Copy an artifact between repositories and verify it at the destination.
Copies an artifact from a source repository and path to a destination repository path, then verifies the copied artifact via its storage info.
2 steps inputs: accessToken, destItemPath, destRepoKey, srcItemPath, srcRepoKey outputs: copyMessages, downloadUri
1
copyArtifact
Copy the artifact from the source location to the destination repository path, leaving the original in place.
2
verifyDestination
Read the storage info at the destination path to confirm the artifact was copied successfully.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Artifactory Promote Artifact Across Repositories
  summary: Copy an artifact from a staging repository to a release repository and verify it.
  description: >-
    A repository-to-repository promotion flow for JFrog Artifactory. The
    workflow copies an artifact from a source (staging) repository to a target
    (release) repository, then reads back the storage info at the destination to
    confirm the promotion succeeded. Every step spells out its request inline so
    the flow can be read and executed without opening the underlying OpenAPI
    description.
  version: 1.0.0
sourceDescriptions:
- name: artifactsStorageApi
  url: ../openapi/artifactory-artifacts-storage-api-openapi.yml
  type: openapi
workflows:
- workflowId: promote-artifact-across-repositories
  summary: Copy an artifact between repositories and verify it at the destination.
  description: >-
    Copies an artifact from a source repository and path to a destination
    repository path, then verifies the copied artifact via its storage info.
  inputs:
    type: object
    required:
    - accessToken
    - srcRepoKey
    - srcItemPath
    - destRepoKey
    - destItemPath
    properties:
      accessToken:
        type: string
        description: Bearer access token for authenticating with Artifactory.
      srcRepoKey:
        type: string
        description: Source repository key to copy the artifact from.
      srcItemPath:
        type: string
        description: Source artifact path within the source repository.
      destRepoKey:
        type: string
        description: Destination repository key to copy the artifact to.
      destItemPath:
        type: string
        description: Destination artifact path within the destination repository.
  steps:
  - stepId: copyArtifact
    description: >-
      Copy the artifact from the source location to the destination repository
      path, leaving the original in place.
    operationId: copyArtifact
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.accessToken
    - name: srcRepoKey
      in: path
      value: $inputs.srcRepoKey
    - name: srcItemPath
      in: path
      value: $inputs.srcItemPath
    - name: to
      in: query
      value: "/$inputs.destRepoKey/$inputs.destItemPath"
    - name: dry
      in: query
      value: 0
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      messages: $response.body#/messages
  - stepId: verifyDestination
    description: >-
      Read the storage info at the destination path to confirm the artifact was
      copied successfully.
    operationId: getStorageInfo
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.accessToken
    - name: repoKey
      in: path
      value: $inputs.destRepoKey
    - name: itemPath
      in: path
      value: $inputs.destItemPath
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      downloadUri: $response.body#/downloadUri
      size: $response.body#/size
      sha256: $response.body#/checksums/sha256
  outputs:
    copyMessages: $steps.copyArtifact.outputs.messages
    downloadUri: $steps.verifyDestination.outputs.downloadUri

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/artifactory-promote-artifact-across-repositories-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.