capabilities.work

Trigger a Manual CI Job and Poll to Completion

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

Recipe · 2 steps

Trigger a Manual CI Job and Poll to Completion

with GitLab · Software Construction Management
Works with AI assistants

Run a manual CI job and poll its status until it completes.

  1. Trigger the manual job so it starts running.
  2. Read the job status; if still running, loop back to poll again, otherwise finish.
What you'll need to have ready
  • privateToken: GitLab Private-Token used to authenticate the API calls.
  • projectId: The ID of the project.
  • jobId: The ID of the manual job to run.
For your developer

Arazzo workflow gitlab:trigger-manual-job-and-poll, 2 operations: triggerManualJob → getSingleJob. Specs on APIs.io.