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

    Class CommandStep

    Implements

    • StepBuilder
    • KeyBuilder
    • LabelBuilder
    • ConditionBuilder
    • BranchFilterBuilder
    • DependenciesBuilder
    • SkipBuilder
    • AgentsBuilder
    • EnvironmentBuilder
    Index

    Constructors

    Methods

    • Parameters

      • tag: string
      • value: string

      Returns this

    • Parameters

      • branch: string

      Returns this

    • Parameters

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

      Returns this

    • Parameters

      • name: string
      • value: unknown

      Returns this

    • Parameters

      • tag: string
      • value: string

      Returns this

      Use .addAgent() instead

    • Parameters

      • allow: boolean

      Returns this

      Use .addDependency() instead

    • Parameters

      • branch: string

      Returns this

      Use .addBranch() instead

    • Parameters

      • command: string

      Returns this

      Use .addCommand() instead

    • Parameters

      • group: string
      • jobs: number

      Returns this

      Use .setConcurrency() instead

    • Parameters

      • condition: string

      Returns this

      Use .setCondition() instead

    • Parameters

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

      Returns this

      Use .addDependency() instead

    • Parameters

      • name: string
      • value: unknown

      Returns this

      Use .addEnv() instead

    • Returns Readonly<Record<string, string>>

    • Returns readonly string[]

    • Returns string | undefined

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

    • Returns Readonly<Record<string, unknown>>

    • Returns string | undefined

    • Returns
          | boolean
          | { allowed?: boolean; permit_on_passed?: boolean; reason?: string }
          | undefined

      • boolean
      • { allowed?: boolean; permit_on_passed?: boolean; reason?: string }
        • Optionalallowed?: boolean

          Whether or not this job can be retried manually

        • Optionalpermit_on_passed?: boolean

          Whether or not this job can be retried after it has passed

        • Optionalreason?: string

          A string that will be displayed in a tooltip on the Retry button in Buildkite. This will only be displayed if the allowed attribute is set to false.

      • undefined
    • Parameters

      • key: string

      Returns this

      Use .setKey() instead

    • Parameters

      • label: string

      Returns this

      Use .setLabel() instead

    • Parameters

      • parallelism: number

      Returns this

      Use .setParallelism() instead

    • Parameters

      • allow: boolean

      Returns this

    • Parameters

      • condition: string

      Returns this

    • Parameters

      • key: string

      Returns this

    • Parameters

      • label: string

      Returns this

    • Parameters

      • retry:
            | boolean
            | { allowed?: boolean; permit_on_passed?: boolean; reason?: string }
            | undefined
        • boolean
        • { allowed?: boolean; permit_on_passed?: boolean; reason?: string }
          • Optionalallowed?: boolean

            Whether or not this job can be retried manually

          • Optionalpermit_on_passed?: boolean

            Whether or not this job can be retried after it has passed

          • Optionalreason?: string

            A string that will be displayed in a tooltip on the Retry button in Buildkite. This will only be displayed if the allowed attribute is set to false.

        • undefined

      Returns this

    • Parameters

      • skip: string | boolean

      Returns this

    • Parameters

      • skip: string | boolean

      Returns this

      Use .setSkip() instead

    • Parameters

      • fail: boolean = true

      Returns this

      Use .setSoftFail() instead

    • Parameters

      • minutes: number

      Returns this

      Use .setTimeout() instead