Skip to content

Pipeline matrix soft_fail failure #3085

@orien

Description

@orien

I'm struggling with one aspect of the Build Matrix documentation, specifically adding an adjustment build with soft_fail: true.

It seems when an automatic retry is in play and the adjustment step fails, it fails hard, causing the status of the pipeline build to be a failure.

  steps:
  - label: "💥 Matrix build with adjustments"
    command: "echo {{matrix.os}} {{matrix.arch}} {{matrix.test}}"
+   retry:
+     automatic:
+       limit: 1
    matrix:
      setup:
        arch:
          - "arm64"
        os:
          - "linux"
        test:
          - "A"
          - "B"
      adjustments:
        - with:
            os: "windows"
            arch: "amd64"
            test: "B"
          soft_fail: true

Is this an undocumented feature or a defective behaviour?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions