ci(soteria): make enforce stage shell portable

This commit is contained in:
codex 2026-04-20 01:28:37 -03:00
parent 309c888e76
commit 169afc62d4

2
Jenkinsfile vendored
View File

@ -289,7 +289,7 @@ METRICS
steps { steps {
container('tester') { container('tester') {
sh ''' sh '''
set -euo pipefail set -eu
test_rc="$(cat build/test.exitcode 2>/dev/null || echo 1)" test_rc="$(cat build/test.exitcode 2>/dev/null || echo 1)"
fail=0 fail=0
if [ "${test_rc}" -ne 0 ]; then if [ "${test_rc}" -ne 0 ]; then