fix(ci): licence acceptance no longer fails on SIGPIPE #11
Loading…
Reference in a new issue
No description provided.
Delete branch "test"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Exit 141 is 128+13, SIGPIPE.
yesis killed the moment sdkmanager stopsreading its input, and the runner's shell has pipefail on, so the pipeline
reports the signal and the step fails even though every licence was accepted.
pipefail is off for that one pipeline now, which leaves sdkmanager's own
status deciding it. A bounded
printfwas tried first on the theory that awriter which finishes before the reader closes wouldn't be signalled; it is
signalled anyway, and the check below caught that before it was pushed.
Also verifies the SDK actually landed, so a partial install fails here rather
than three steps later as a confusing Gradle error.
Co-Authored-By: Claude Opus 5 noreply@anthropic.com