capabilities.work

Build Automation Trigger and Poll

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

Recipe · 3 steps

Build Automation Trigger and Poll

with Unity · Continuous Integration Management

Verify a build target, start a build, and poll to completion.

  1. Confirm the build target exists and read its configuration before triggering a build.
  2. Trigger a new clean build for the build target. The response is an array of started builds; the first element carries the build number.
  3. Poll the build status. Retry while the build is queued, sent to the builder, started or restarted; end when it reaches success or failure.
What you'll need to have ready
  • basicAuth: Base64-encoded credentials for HTTP Basic authentication.
  • orgid: The Unity organization id.
  • projectid: The Unity project id.
  • buildtargetid: The build target id to build.
For your developer

Arazzo workflow unity:build-trigger-and-poll, 3 operations: getBuildTarget → startBuild → getV1ProjectsByProjectIdBuildsByBuildId. Specs on APIs.io.