capabilities.work

Retrieve Artifacts of the Latest Successful Build

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

Recipe · 3 steps

Retrieve Artifacts of the Latest Successful Build

with Azure DevOps · Continuous Integration Management

Find the latest succeeded build and list its artifacts.

  1. List completed, succeeded builds for the definition, newest first.
  2. Fetch the top build to confirm its result and capture its build number.
  3. List the artifacts published by the selected build.
What you'll need to have ready
  • apiVersion: Azure DevOps REST API version (e.g. 7.1).
  • definitionId: ID of the build definition to search builds for.
  • accessToken: Azure DevOps bearer (OAuth 2.0) access token.
For your developer

Arazzo workflow microsoft-azure-devops:retrieve-latest-build-artifacts, 3 operations: builds_list → builds_get → builds_listArtifacts. Specs on APIs.io.