This is driving me nuts. I'm using WebStorm as my IDE, and when editing my bitbucket-pipelines.yml file, it is giving me a schema validation error on the following block (generic example):
pipelines:
branches:
master:
- stage:
name: My Stage
steps:
- step:
name: My Step
It says that the property "stage" is not allowed. I have WebStorm pointing directly to https://api.bitbucket.org/schemas/pipelines-configuration for this file.
However, if I copy/paste the bitbucket-pipelines.yml file in its entirety to https://bitbucket.org/product/pipelines/validator , it says my configuration is valid.
What gives?? This is driving me crazy.