capabilities.work

Pipelines Trigger and Monitor

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

Recipe · 3 steps

Pipelines Trigger and Monitor

with JFrog · Continuous Integration Management

Trigger a pipeline and wait for the resulting run to complete.

  1. Trigger a new run of the pipeline on the supplied branch.
  2. List the most recent runs for the pipeline to capture the id of the run that was just triggered.
  3. Poll the run status. While the status code indicates queued (4001) or processing (4002), loop back and check again; otherwise finish.
What you'll need to have ready
  • pipelineId: The id of the pipeline to trigger.
  • branchName: The branch to run the pipeline on.
For your developer

Arazzo workflow jfrog:trigger-and-monitor-pipeline, 3 operations: triggerPipeline → listRuns → getRun. Specs on APIs.io.