buildkite / pipeline-schema

A JSON schema for Buildkite’s pipeline file format
MIT License
31 stars 35 forks source link

Add support for an array of exit_status codes #89

Closed mitchbne closed 1 week ago

mitchbne commented 1 week ago

Adds support for an array of exit status codes. These must be numbers.

The following is considered valid:

  - command: test
    retry:
      automatic:
        exit_status: [1,2,3]

The following is not valid:

  - command: test
    retry:
      automatic:
        exit_status: ["not", "valid"]