ci(soteria): make enforce stage shell portable
This commit is contained in:
parent
309c888e76
commit
169afc62d4
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user