@jameslnewell/buildkite-pipelines
    Preparing search index...

    Class BlockStep

    Implements

    • StepBuilder
    • LabelBuilder
    • KeyBuilder
    • BranchFilterBuilder
    • DependenciesBuilder
    • ConditionBuilder
    • PromptBuilder
    Index

    Constructors

    Methods

    • Parameters

      • branch: string

      Returns this

    • Parameters

      • dependency: string | { allow_failure?: boolean; step?: string }

      Returns this

    • Parameters

      • field:
            | {
                default?: string;
                hint?: string;
                key: string;
                required?: boolean;
                text?: string;
            }
            | {
                default?: string
                | string[];
                hint?: string;
                key: string;
                multiple?: boolean;
                options: {
                    hint?: string;
                    label: string;
                    required?: boolean;
                    value: string;
                }[];
                required?: boolean;
                select?: string;
            }
        • {
              default?: string;
              hint?: string;
              key: string;
              required?: boolean;
              text?: string;
          }
          • Optionaldefault?: string

            The value that is pre-filled in the text field

          • Optionalhint?: string

            The explanatory text that is shown after the label

          • key: string

            The meta-data key that stores the field's input

          • Optionalrequired?: boolean

            Whether the field is required for form submission

          • Optionaltext?: string

            The text input name

        • {
              default?: string | string[];
              hint?: string;
              key: string;
              multiple?: boolean;
              options: {
                  hint?: string;
                  label: string;
                  required?: boolean;
                  value: string;
              }[];
              required?: boolean;
              select?: string;
          }
          • Optionaldefault?: string | string[]

            The value of the option(s) that will be pre-selected in the dropdown

          • Optionalhint?: string

            The explanatory text that is shown after the label

          • key: string

            The meta-data key that stores the field's input

          • Optionalmultiple?: boolean

            Whether more than one option may be selected

          • options: { hint?: string; label: string; required?: boolean; value: string }[]
          • Optionalrequired?: boolean

            Whether the field is required for form submission

          • Optionalselect?: string

            The text input name

      Returns this

    • Parameters

      • allow: boolean

      Returns this

      Use .setAllowDependencyFailure() instead

    • Parameters

      • branch: string

      Returns this

      Use .addBranch() instead

    • Parameters

      • condition: string

      Returns this

      Use .setCondition() instead

    • Parameters

      • dependency: string | { allow_failure?: boolean; step?: string }

      Returns this

      Use .addDependency() instead

    • Parameters

      • field:
            | {
                default?: string;
                hint?: string;
                key: string;
                required?: boolean;
                text?: string;
            }
            | {
                default?: string
                | string[];
                hint?: string;
                key: string;
                multiple?: boolean;
                options: {
                    hint?: string;
                    label: string;
                    required?: boolean;
                    value: string;
                }[];
                required?: boolean;
                select?: string;
            }
        • {
              default?: string;
              hint?: string;
              key: string;
              required?: boolean;
              text?: string;
          }
          • Optionaldefault?: string

            The value that is pre-filled in the text field

          • Optionalhint?: string

            The explanatory text that is shown after the label

          • key: string

            The meta-data key that stores the field's input

          • Optionalrequired?: boolean

            Whether the field is required for form submission

          • Optionaltext?: string

            The text input name

        • {
              default?: string | string[];
              hint?: string;
              key: string;
              multiple?: boolean;
              options: {
                  hint?: string;
                  label: string;
                  required?: boolean;
                  value: string;
              }[];
              required?: boolean;
              select?: string;
          }
          • Optionaldefault?: string | string[]

            The value of the option(s) that will be pre-selected in the dropdown

          • Optionalhint?: string

            The explanatory text that is shown after the label

          • key: string

            The meta-data key that stores the field's input

          • Optionalmultiple?: boolean

            Whether more than one option may be selected

          • options: { hint?: string; label: string; required?: boolean; value: string }[]
          • Optionalrequired?: boolean

            Whether the field is required for form submission

          • Optionalselect?: string

            The text input name

      Returns this

      Use .addField() instead

    • Returns readonly string[]

    • Returns string | undefined

    • Returns readonly (string | { allow_failure?: boolean; step?: string })[]

    • Returns string | undefined

    • Returns string | undefined

    • Parameters

      • key: string

      Returns this

      Use .setKey() instead

    • Parameters

      • label: string

      Returns this

      Use .setLabel() instead

    • Parameters

      • prompt: string

      Returns this

      Use .setPrompt() instead

    • Parameters

      • allow: boolean

      Returns this

    • Parameters

      • condition: string

      Returns this

    • Parameters

      • key: string

      Returns this

    • Parameters

      • label: string

      Returns this

    • Parameters

      • prompt: string

      Returns this

    • Parameters

      • state: "passed" | "failed" | "running"

      Returns this

    • Parameters

      • state: "passed" | "failed" | "running"

      Returns this

      Use .setState() instead