bbrun
bbrun copied to clipboard
steps.forEach is not a function
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
I believe the default pipeline doesn't need to have "**". Removing that should fix your problem.
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