ci(metis): make retry helper errexit-safe

This commit is contained in:
codex 2026-04-21 14:52:04 -03:00
parent 34cd874a5a
commit 2cda3d1f1b

5
Jenkinsfile vendored
View File

@ -194,11 +194,10 @@ PY
delay=8
attempt=1
while [ "${attempt}" -le "${attempts}" ]; do
"$@"
rc=$?
if [ "${rc}" -eq 0 ]; then
if "$@"; then
return 0
fi
rc=$?
if [ "${attempt}" -eq "${attempts}" ]; then
return "${rc}"
fi