Skip to main content

Step

Properties

  • id - string
    The unique step identifier.

  • name - string
    The step name.

  • desc - string
    The step description.

  • type - string
    The step type.

    enum values:

    • action
    • background
    • barrier
    • bitrise
    • script
    • run
    • group
    • parallel
    • plugin
    • jenkins
    • template
    • test
  • spec - object
    The step type specification.

  • timeout - string
    The step timeout.

  • strategy - Strategy
    The step execution strategy.

  • when - When
    The step conditional logic.

Examples

Run step.

steps:
- type: run
spec:
container: node
script: npm install

Run step with image details.

steps:
- type: run
spec:
container:
image: node
pull: if-not-exists
script: npm install

Background step.

steps:
- name: redis
type: background
spec:
container: redis