Pipelines Schema raises failure on stage

Issue #576 resolved
Philipp Winterle created an issue

If you use stage property in your pipeline it will call it an error.
Seems like “stage” is not in schema.

image: node:18-slim

pipelines:
  branches:
    Branch-*:
      - stage:
          name: Stage Test
          steps:
            - step:
                name:
                script:
                  - echo "Test"

Comments (3)

  1. Daniil Penkin staff

    Hello @Philipp Winterle ,

    I believe the problem is that you’re missing a value for step.name.

    Sadly, the JSON/YAML validation engine IntelliJ is using is not great at pointing at the exact root cause of a problem, so the whole stage element is highlighted as invalid.

    Let me know if it worked for you.

    Cheers,
    Daniil

  2. Log in to comment