capabilities.work

Add a pipeline variable to a repository

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

Get something done

Add a pipeline variable to a repository

with Bitbucket · Continuous Integration Management

Use Bitbucket: its Bitbucket Pipelines API lets you add a pipeline variable to a repository in a single step (POST /repositories/{workspace}/{repo_slug}/pipelines_config/variables). capabilities.work can help you get signed up and connected.

  • How do I add an API token as a repository variable for my builds?
  • Can I create a secured repository variable so it's masked in logs?
Say it to your AI assistant
  • Create repository variable {key} with value {value} in {workspace}/{repo_slug}.
  • Add a secured repo-level variable {key} to repo {repo_slug}.
For your developer

POST /repositories/{workspace}/{repo_slug}/pipelines_config/variables in Bitbucket Pipelines API. Full spec on APIs.io.