Fail Fast

Availability

This feature is available to all users.

Usage Scenarios

The primary use case for this feature is to allow users to configure a build to terminate automatically after a predetermined number or percentage of failures rather than waiting for the entire build to complete.

Configuration

This feature allows you to set per-branch thresholds via solano.yml.

failure_thresholds:
  - branch: master
    threshold: 1        # stop after first failure
  - branch: "*"
    threshold: '10%'    # stop after 10% of the total fail

Branch patterns are either regular expressions or simple globs that can use “*” and ”?” as wild cards. Branch patterns are evaluated in order and the first to match wins.