capabilities.work

Publish and Promote Build

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

Recipe · 3 steps

Publish and Promote Build

with JFrog Artifactory · Software Release & Deployment Management

Publish build info, verify it, then promote the build to release.

  1. Publish the build info record so Artifactory tracks the artifacts and metadata for this build name and number.
  2. Read the published build info back to confirm it was recorded before promoting it.
  3. Promote the build by copying its artifacts from the source staging repository to the target release repository.
What you'll need to have ready
  • accessToken: Bearer access token for authenticating with Artifactory.
  • buildName: The name of the build.
  • buildNumber: The build number (version).
  • started: The build start timestamp in ISO8601 format.
  • sourceRepo: The staging repository the build artifacts currently live in.
  • targetRepo: The release repository to promote the build artifacts to.
For your developer

Arazzo workflow artifactory:publish-and-promote-build, 3 operations: publishBuildInfo → getBuildInfo → promoteBuild. Specs on APIs.io.