Pipelines branch with braces manual run API error

Issue #16923 duplicate
Mark Cerezo
staff created an issue


Pipelines YML file configuration with a branch inside curly braces is getting an API Post error when doing manual run.

Steps to reproduce:

  1. Create a commit with the following changes in bitbucket-pipelines.yml file. (note: push it in the same branch)
      - step:
          name: Clone
            - echo "Clone all the things!" 
  1. Push the changes then go to the commit's URL (E.g. https://bitbucket.org/username/repository_name/commits/3a33af5aec93fc01f042c3261bf6f5b44f98062b)
  2. Click "Run pipeline" on the right side to run it manually on Pipelines.

Expected Result

Pipelines will run manually from the commit's page

Actual Result

Pipelines didn't run and showed an API post error in the browser's console logs. (See screenshot attached)


Remove the "{}" curly braces, put only the branch name in your bitbucket-pipelines.yml file.

Comments (2)

  1. Log in to comment