👩💻 Join our community of thousands of amazing developers!
Here, a ‘failing step’ means a step that includes a command with a non-zero exit code. Simple scenario: Single-line commands Link to heading For very simple cases, using shell script notation do_something || do_something_else (‘or’) can be sufficient. The command after the double pipes is only executed if the first command do_something evaluates to false, or more importantly for us, returns a non-zero exit code (usually indicating failure). In the example below, the step should create a kubernet...