Per the buildkite documentation: Command Step | Buildkite Documentation
The shell command/s to run during this step. This can be a single line of commands, or a list of commands that must all pass. Also available as the alias commands.
The following pipeline works (and it shouldn’t).
steps:
- commands:
- false
- echo "false (previous step) returned $?"
- echo "Should not get here"
Did something change recently? I don’t remember it doing this, and it’s doing all sorts of weird things to our CI/CD?
Interestingly, the build fails if the last command errors:
steps:
- commands:
- false
- echo "false (previous step) returned $?"
- echo "Should not get here"
- false