Details
-
Bug
-
Resolution: Fixed
-
Medium
Description
The following YAML gives an odd error
image: node:4.7.0
pipelines:
default:
- step:
script:
- npm install
- npm run lint
- npm run test
- npm run build
branches:
master:
- step:
script:
- npm install
- npm run lint
- npm run test
- npm run build
- npm version patch
- npm run deploy
It shows the error message The '' section in your bitbucket-pipelines.yml file is missing a ''. Please add the missing '' to fix the error. which obviously doesn't help much in troubleshooting it
I tried putting it through a YAML linter and it seems to be valid.