Improve Bitbucket Pipelines Validator to detect Configuration errors

Issue #18306 duplicate
Marko Kirves
created an issue

I'm trying to run my pipeline, but getting error:

The 'default' section in your bitbucket-pipelines.yml file is missing a 'step'. Please add the missing 'step' to fix the error.

Screen Shot 2019-03-09 at 16.45.58.png

When I copy my bitbucket-pipelines.yml contents to https://bitbucket-pipelines.prod.public.atl-paas.net/validator - it's passing with VALID status.

Screen Shot 2019-03-09 at 16.46.10.png

The code also passes my pre-commit yamllint validation.

I've attached full pipeline file as an attachment.

Comments (10)

  1. Aneita Yang

    Hey @Marko Kirves ,

    Thanks for reaching out.

    The UI validator doesn’t expand YML references, and validate the expansion. There’s currently a ticket tracking the request to support validation of the expanded YML configuration (issue #18299). Please vote for that ticket / watch it for updates.

    Aneita

  2. Log in to comment