capabilities.work

Promote Build

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

Recipe · 2 steps

Promote Build

with JFrog · Continuous Integration Management

Confirm a build run then promote it to a release repository.

  1. Read the build information for the given name and number to confirm the run exists before promoting it.
  2. Promote the confirmed build run by copying its artifacts to the target repository and applying the new status.
What you'll need to have ready
  • buildName: The build name to promote.
  • buildNumber: The build number (run) to promote.
  • targetRepo: The target repository to promote artifacts into.
  • sourceRepo: The source repository the artifacts currently reside in.
  • status: The promotion status to apply (e.g. staged, released).
  • comment: A comment describing the promotion.
For your developer

Arazzo workflow jfrog:promote-build, 2 operations: getBuildInfo → promoteBuild. Specs on APIs.io.