Open
Description
Describe the bug
Run ./pants test ::
.
Have test file (Go) fail to compile.
My error [ERROR] Completed: Compile with Go - <redacted> failed (exit code 1).
Run echo $?
.
Expected:
A non-zero (failing) status code.
Observed:
A zero (successful) status code.
Pants version
2.14.0
OS
Only tested on Linux.
Additional info
Failing with a non-zero code is critical for correct use in CI. Basically every CI system will consider a command successful if the status code is 0. This breaks the ability to trust Pants output in CI.
Activity