capabilities.work

Set the build counter for a branch

One step with Harness. We can help you get access.

Get something done

Set the build counter for a branch

with Harness
Works with AI assistants

Use Harness: its Harness Branch Sequences API lets you set the build counter for a branch in a single step (PUT /pipeline/api/pipelines/{pipelineIdentifier}/branch-sequences/set). Harness also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.

  • Can I set a branch's build number to a specific value?
  • Does setting a branch sequence create the record if it doesn't exist?
Say it to your AI assistant
  • Set the sequence for branch {branch} of repo {repoUrl} on pipeline {pipelineIdentifier} to {sequenceId}.
  • Start branch {branch} builds on pipeline {pipelineIdentifier} from number {sequenceId}.
For your developer

PUT /pipeline/api/pipelines/{pipelineIdentifier}/branch-sequences/set in Harness Branch Sequences API. Full spec on APIs.io.