Allow only running a step if the previous step failed

workflow
#1

In other words, a similar checkbox to “run if previous step failed”, except for “run if previous step succeeded”.

This would allow steps to run that only run on failure, e.g., specific emails, more specific test sets, etc.

0 Likes

#2

I think this YAML does what you want:

    is_always_run: true
    run_if: .IsBuildFailed
1 Like

#3

Thank you! Would be nice to have it in the UI, but I guess the more powerful features will always end up in the YAML first.

0 Likes

#4

There’s a feature request to add UI support. Vote on this to increase the priority.

2 Likes

#5

Thank you. I missed that in my search (looking for totally different keywords.)

1 Like

closed #6
0 Likes