continuous-integration icon indicating copy to clipboard operation
continuous-integration copied to clipboard

`[shell,batch]_commands` can silently fail.

Open UebelAndre opened this issue 1 year ago • 2 comments

Noticed on https://buildkite.com/bazel/rules-rust-rustlang/builds/8734#0188b4bf-9114-4a94-9319-62e42cc4610d for the new post commands and suspect it's the same case for startup commands. Any suggestions on how to fix?

UebelAndre avatar Jun 13 '23 12:06 UebelAndre

cc @meteorcloudy

UebelAndre avatar Jun 13 '23 12:06 UebelAndre

Not sure, we do have fail_if_nonzero on by default, somehow the bash command exited with 0? https://github.com/bazelbuild/continuous-integration/blob/master/buildkite/bazelci.py#L2645

meteorcloudy avatar Jun 13 '23 13:06 meteorcloudy