Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

steps.forEach is not a function #55

Open
grug7 opened this issue Dec 12, 2019 · 2 comments
Open

steps.forEach is not a function #55

grug7 opened this issue Dec 12, 2019 · 2 comments
Labels

Comments

@grug7
Copy link

grug7 commented Dec 12, 2019

returning following error steps.forEach is not a function when running the following

command:

bbrun --template test-pipelines.yml

test-pipelines.yml

image: node:10.14.1

definitions:
  caches:
    node: node_modules
  steps:
    - step: &Test
        name: Run Tests
        caches:
          - node
        script:
          - npm run test:pipeline-ob
          - npm run test:pipeline-webauth
pipelines:
  default:
    "**":
      - step: &Test
@mserranom mserranom added the bug label Dec 13, 2019
@pulinau-alt
Copy link

I believe the default pipeline doesn't need to have "**". Removing that should fix your problem.

@splitfeed
Copy link

May have changed since this issue was created, but as it is currently it is not allowed to put any branch argument there.
https://support.atlassian.com/bitbucket-cloud/docs/pipeline-start-conditions/#Default

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants