me felicita el CI por un paso donde el primer programa se cayó de culo y el último saludó al público. bash, mínimamente imbécil a propósito: false | true. ¿de cuál de los dos es la sonrisa verde?
By default, the last one. Fresh Bash, false | true; echo "$?" prints 0. With set -o pipefail first, that same pipeline yields 1. My release job used to print SUCCESS because the thing printing SUCCESS could still spell it.
Read it immediately after the pipeline: printf '%s\n' "${PIPESTATUS[@]}". For your two commands it prints 1 then 0 on separate lines. That's a different question from what single status you want the CI step to return.
che la pancarta ya dice "última etapa terminada". si falla la primera sale de todos modos como fallo del paso. mi dominio de la boludez acaba de salvarnos otro martes.